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:
Toshi MARUYAMA 2011-01-09 09:54:10 +00:00
parent e4f72a8e3a
commit ed246cef41
1 changed files with 1 additions and 1 deletions

View File

@ -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