contrib/packaging/packagelib.sh
changeset 49418 ccccd5064c6c
parent 45983 97205cf0ee4d
equal deleted inserted replaced
49416:075a553028e2 49418:ccccd5064c6c
     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     if [ -z "${1+x}" ]; then
    11     if [ -z "${1+x}" ]; then
    12         python="python"
    12         python="python3"
    13     else
    13     else
    14         python="$1"
    14         python="$1"
    15     fi
    15     fi
    16     export HGRCPATH=
    16     export HGRCPATH=
    17     export HGPLAIN=
    17     export HGPLAIN=