diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2014-06-12 09:15:11 +0200 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2014-06-12 09:15:11 +0200 |
commit | de12094b0e97e36485a26abce86a014d4bddd0de (patch) | |
tree | dd9db99a798674258d2f46a6068b910505fa6069 /pkgs/build-support/fetchhg/nix-prefetch-hg | |
parent | e4dc3f8ae3665f005b241edee76bfbcde7c1b1c1 (diff) | |
parent | af3d448d335cd22355b6b84857520cfa5cfb380e (diff) | |
download | nixlib-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-x | pkgs/build-support/fetchhg/nix-prefetch-hg | 1 |
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) |