reproduce.tt: Set revCount for hg repos
[?]
May 16, 2013, 3:24 PM
HCIQTL3LBJRAI4NBQH6RPHSQU7LY6G4OVBDSYL6BG46GSWMH4ANACDependencies
- [2]
HZWUT4YNAllow users to reproduce builds on their own systems - [3]
5Q4ZLL37reproduce.tt: Add --help flag - [4]
3G7OYUSEreproduce.tt: Check for the presence of commands like nix-build
Change contents
- replacement in src/root/reproduce.tt at line 113
hg clone '[% input.uri %]' "$inputDirTmp" -r '[% input.revision %]'hg clone '[% input.uri %]' "$inputDirTmp"(cd "$inputDirTmp" && hg update '[% input.revision %]')revCount="$(cd "$inputDirTmp" && (hg log -r '[% input.revision %]' --template "{rev}"))"