equal
deleted
inserted
replaced
6 # |
6 # |
7 # distance: the distance from the nearest tag, or empty if built from a tag |
7 # distance: the distance from the nearest tag, or empty if built from a tag |
8 # |
8 # |
9 # node: the node|short hg was built from, or empty if built from a tag |
9 # node: the node|short hg was built from, or empty if built from a tag |
10 gethgversion() { |
10 gethgversion() { |
11 make clean |
11 make cleanbutpackages |
12 make local || make local PURE=--pure |
12 make local || make local PURE=--pure |
13 HG="$PWD/hg" |
13 HG="$PWD/hg" |
14 |
14 |
15 $HG version > /dev/null || { echo 'abort: hg version failed!'; exit 1 ; } |
15 $HG version > /dev/null || { echo 'abort: hg version failed!'; exit 1 ; } |
16 |
16 |