From 5ddee3502e7c8dd67b1fec4de2f72df6fd16cc94 Mon Sep 17 00:00:00 2001 From: Vlad Shablinsky Date: Mon, 1 Aug 2016 16:18:26 +0300 Subject: [PATCH] download_strategy: use short hash for mercurial --- Library/Homebrew/download_strategy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index 4d9e80f38d..044030efad 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