Mercurial adapter tests fix (#1469).

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1563 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2008-06-18 17:02:39 +00:00
parent af734b1b38
commit fda7bcdfb6
2 changed files with 3 additions and 5 deletions

View File

@@ -192,8 +192,6 @@ module Redmine
end
end
private
def hgversion_from_command_line
@hgversion ||= %x{#{HG_BIN} --version}.match(/\(version (.*)\)/)[1]
end