download_strategy: use short hash for mercurial

This commit is contained in:
Vlad Shablinsky
2016-08-06 21:25:56 +08:00
committed by Xu Cheng
parent 09d21ad258
commit 5ddee3502e
+1 -1
View File
@@ -913,7 +913,7 @@ class MercurialDownloadStrategy < VCSDownloadStrategy
end
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
private