Skip to content
Snippets Groups Projects
Commit 69d4d6ba authored by Pierre-Yves David's avatar Pierre-Yves David :octopus:
Browse files

bin-env-setup: also record the rank of the mercurial revision.

parent 5c3c031a
No related branches found
No related tags found
No related merge requests found
......@@ -100,6 +100,7 @@
for key in node branch tag phase; do
echo hg.changeset.${key}="`hg log -R poulpe-tmp/mercurial/ -r . -T '{'${key}'}'`" >> POULPE-VARS
done
echo hg.changeset.rank="`hg log -R poulpe-tmp/mercurial/ -r ::. -T 'UNIQUE-TOKEN-FOR-RANK-swilndlkjsagljgalh\n' | grep 'UNIQUE-TOKEN-FOR-RANK-swilndlkjsagljgalh' | wc -l`" >> POULPE-VARS
echo "cleaning up"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment