afriza-quote-template-file-path.patch

Afriza N. Arief, 2009-04-11 16:50

Download (765 Bytes)

View differences:

mercurial_adapter.rb (working copy)
105 105
        # makes Mercurial produce a xml output.
106 106
        def revisions(path=nil, identifier_from=nil, identifier_to=nil, options={})  
107 107
          revisions = Revisions.new
108
          cmd = "#{HG_BIN} --debug --encoding utf8 -R #{target('')} log -C --style #{self.class.template_path}"
108
          cmd = "#{HG_BIN} --debug --encoding utf8 -R #{target('')} log -C --style #{shell_quote self.class.template_path}"
109 109
          if identifier_from && identifier_to
110 110
            cmd << " -r #{identifier_from.to_i}:#{identifier_to.to_i}"
111 111
          elsif identifier_from