@@ -105,7 +105,7 module Redmine | |||||
105 | # makes Mercurial produce a xml output. |
|
105 | # makes Mercurial produce a xml output. | |
106 | def revisions(path=nil, identifier_from=nil, identifier_to=nil, options={}) |
|
106 | def revisions(path=nil, identifier_from=nil, identifier_to=nil, options={}) | |
107 | revisions = Revisions.new |
|
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 | if identifier_from && identifier_to |
|
109 | if identifier_from && identifier_to | |
110 | cmd << " -r #{identifier_from.to_i}:#{identifier_to.to_i}" |
|
110 | cmd << " -r #{identifier_from.to_i}:#{identifier_to.to_i}" | |
111 | elsif identifier_from |
|
111 | elsif identifier_from |
General Comments 0
You need to be logged in to leave comments.
Login now