##// END OF EJS Templates
Add "--encoding utf8" option to the Mercurial "hg log" command in order to get utf8 encoded commit logs (#834)....
Jean-Philippe Lang -
r1241:451aa6ba4e24
parent child
Show More
@@ -70,7 +70,7 module Redmine
70
70
71 def revisions(path=nil, identifier_from=nil, identifier_to=nil, options={})
71 def revisions(path=nil, identifier_from=nil, identifier_to=nil, options={})
72 revisions = Revisions.new
72 revisions = Revisions.new
73 cmd = "#{HG_BIN} -v -R #{target('')} log"
73 cmd = "#{HG_BIN} -v --encoding utf8 -R #{target('')} log"
74 if identifier_from && identifier_to
74 if identifier_from && identifier_to
75 cmd << " -r #{identifier_from.to_i}:#{identifier_to.to_i}"
75 cmd << " -r #{identifier_from.to_i}:#{identifier_to.to_i}"
76 elsif identifier_from
76 elsif identifier_from
General Comments 0
You need to be logged in to leave comments. Login now