download_strategy: use short hash for mercurial
This commit is contained in:
parent
09d21ad258
commit
5ddee3502e
@ -913,7 +913,7 @@ class MercurialDownloadStrategy < VCSDownloadStrategy
|
|||||||
end
|
end
|
||||||
|
|
||||||
def last_commit
|
def last_commit
|
||||||
Utils.popen_read("hg", "parent", "--template", "{node}", "-R", cached_location.to_s)
|
Utils.popen_read("hg", "parent", "--template", "{node|short}", "-R", cached_location.to_s)
|
||||||
end
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
Loading…
x
Reference in New Issue
Block a user