git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4989 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
ce16f4a278
commit
b00caa6e48
|
@ -140,7 +140,7 @@ def rhmanifest(ui, repo, path='', **opts):
|
|||
ui.write('<rhmanifest>\n')
|
||||
ui.write('<repository root="%s">\n' % _u(repo.root))
|
||||
try:
|
||||
_manifest(ui, repo, urllib.unquote_plus(path), opts.get('rev'))
|
||||
_manifest(ui, repo, urllib.unquote_plus(path), urllib.unquote_plus(opts.get('rev')))
|
||||
finally:
|
||||
ui.write('</repository>\n')
|
||||
ui.write('</rhmanifest>\n')
|
||||
|
|
|
@ -130,7 +130,7 @@ module Redmine
|
|||
|
||||
def entries(path=nil, identifier=nil)
|
||||
p1 = scm_iconv(@path_encoding, 'UTF-8', path)
|
||||
manifest = hg('rhmanifest', '-r', hgrev(identifier),
|
||||
manifest = hg('rhmanifest', '-r', CGI.escape(hgrev(identifier)),
|
||||
CGI.escape(without_leading_slash(p1.to_s))) do |io|
|
||||
begin
|
||||
ActiveSupport::XmlMini.parse(io.read)['rhmanifest']['repository']['manifest']
|
||||
|
|
Loading…
Reference in New Issue