mirror of
https://github.com/redmine/redmine.git
synced 2025-11-15 09:46:02 +01:00
scm: mercurial: use 12 chars id for format_changeset_identifier (#14361)
git-svn-id: http://svn.redmine.org/redmine/trunk@12749 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -59,7 +59,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.scmid[0, 12]}"
|
||||
end
|
||||
|
||||
# Returns the identifier for the given Mercurial changeset
|
||||
|
||||
Reference in New Issue
Block a user