aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVlad Shablinsky2016-08-01 16:18:26 +0300
committerXu Cheng2016-08-06 21:25:56 +0800
commit5ddee3502e7c8dd67b1fec4de2f72df6fd16cc94 (patch)
treefd1c721de9a0c0b85e14aa2700b3a322005a834f
parent09d21ad2586427b91734943a22e286255923bbcf (diff)
downloadbrew-5ddee3502e7c8dd67b1fec4de2f72df6fd16cc94.tar.bz2
download_strategy: use short hash for mercurial
-rw-r--r--Library/Homebrew/download_strategy.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb
index 4d9e80f38..044030efa 100644
--- a/Library/Homebrew/download_strategy.rb
+++ b/Library/Homebrew/download_strategy.rb
@@ -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