summary refs log tree commit diff
path: root/pkgs/build-support/fetchhg/nix-prefetch-hg
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2014-06-12 09:15:11 +0200
committerVladimír Čunát <vcunat@gmail.com>2014-06-12 09:15:11 +0200
commitde12094b0e97e36485a26abce86a014d4bddd0de (patch)
treedd9db99a798674258d2f46a6068b910505fa6069 /pkgs/build-support/fetchhg/nix-prefetch-hg
parente4dc3f8ae3665f005b241edee76bfbcde7c1b1c1 (diff)
parentaf3d448d335cd22355b6b84857520cfa5cfb380e (diff)
downloadnixlib-de12094b0e97e36485a26abce86a014d4bddd0de.tar
nixlib-de12094b0e97e36485a26abce86a014d4bddd0de.tar.gz
nixlib-de12094b0e97e36485a26abce86a014d4bddd0de.tar.bz2
nixlib-de12094b0e97e36485a26abce86a014d4bddd0de.tar.lz
nixlib-de12094b0e97e36485a26abce86a014d4bddd0de.tar.xz
nixlib-de12094b0e97e36485a26abce86a014d4bddd0de.tar.zst
nixlib-de12094b0e97e36485a26abce86a014d4bddd0de.zip
Merge recent master
Diffstat (limited to 'pkgs/build-support/fetchhg/nix-prefetch-hg')
-rwxr-xr-xpkgs/build-support/fetchhg/nix-prefetch-hg1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/build-support/fetchhg/nix-prefetch-hg b/pkgs/build-support/fetchhg/nix-prefetch-hg
index f1f648f4aeb8..075dbc9c367b 100755
--- a/pkgs/build-support/fetchhg/nix-prefetch-hg
+++ b/pkgs/build-support/fetchhg/nix-prefetch-hg
@@ -51,6 +51,7 @@ if test -z "$finalPath"; then
     hg archive -q -y -r "$rev" --cwd $tmpClone $tmpArchive
     rm -f $tmpArchive/.hg_archival.txt
 
+    echo "hg revision is $(cd $tmpClone; hg id -r "$rev" -i)"
 
     # Compute the hash.
     hash=$(nix-hash --type $hashType $hashFormat $tmpArchive)