scm: mercurial: use revision text mercurial style "2:400bb8672109" (#3724).

Contributed by Yuya Nishihara.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4697 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA committed 2011-01-11 16:03:45 +00:00
1 parent f17e1ce368
commit fdd0a2ca9b
2 files changed
+18 -2

No files matched your search

+1 -2
View File
@@ -34,8 +34,7 @@ class Repository::Mercurial < Repository
# Returns the readable identifier for the given mercurial changeset
def self.format_changeset_identifier(changeset)
# "#{changeset.revision}:#{changeset.scmid}"
changeset.revision
"#{changeset.revision}:#{changeset.scmid}"
end
# Returns the identifier for the given Mercurial changeset