@@ -140,7 +140,7 def rhmanifest(ui, repo, path='', **opts): | |||
|
140 | 140 | ui.write('<rhmanifest>\n') |
|
141 | 141 | ui.write('<repository root="%s">\n' % _u(repo.root)) |
|
142 | 142 | try: |
|
143 | _manifest(ui, repo, urllib.unquote_plus(path), opts.get('rev')) | |
|
143 | _manifest(ui, repo, urllib.unquote_plus(path), urllib.unquote_plus(opts.get('rev'))) | |
|
144 | 144 | finally: |
|
145 | 145 | ui.write('</repository>\n') |
|
146 | 146 | ui.write('</rhmanifest>\n') |
@@ -130,7 +130,7 module Redmine | |||
|
130 | 130 | |
|
131 | 131 | def entries(path=nil, identifier=nil) |
|
132 | 132 | p1 = scm_iconv(@path_encoding, 'UTF-8', path) |
|
133 | manifest = hg('rhmanifest', '-r', hgrev(identifier), | |
|
133 | manifest = hg('rhmanifest', '-r', CGI.escape(hgrev(identifier)), | |
|
134 | 134 | CGI.escape(without_leading_slash(p1.to_s))) do |io| |
|
135 | 135 | begin |
|
136 | 136 | ActiveSupport::XmlMini.parse(io.read)['rhmanifest']['repository']['manifest'] |
General Comments 0
You need to be logged in to leave comments.
Login now