scm: mercurial: wrap identifier with shell_quote at hgrev(identifier).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4666 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
e4f72a8e3a
commit
ed246cef41
|
@ -212,7 +212,7 @@ module Redmine
|
|||
|
||||
# Returns correct revision identifier
|
||||
def hgrev(identifier)
|
||||
identifier.blank? ? 'tip' : identifier.to_s
|
||||
shell_quote(identifier.blank? ? 'tip' : identifier.to_s)
|
||||
end
|
||||
private :hgrev
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue