##// END OF EJS Templates
tests: use debuginstall to retrieve hg version
timeless -
r29198:a3e5e1fb default
parent child Browse files
Show More
@@ -958,7 +958,7 b' Ability to point to a different point'
958 ** Extensions loaded: throw, older
958 ** Extensions loaded: throw, older
959
959
960 Declare the version as supporting this hg version, show regular bts link:
960 Declare the version as supporting this hg version, show regular bts link:
961 $ hgver=`$PYTHON -c 'from mercurial import util; print util.version().split("+")[0]'`
961 $ hgver=`hg debuginstall -T '{hgver}'`
962 $ echo 'testedwith = """'"$hgver"'"""' >> throw.py
962 $ echo 'testedwith = """'"$hgver"'"""' >> throw.py
963 $ if [ -z "$hgver" ]; then
963 $ if [ -z "$hgver" ]; then
964 > echo "unable to fetch a mercurial version. Make sure __version__ is correct";
964 > echo "unable to fetch a mercurial version. Make sure __version__ is correct";
General Comments 0
You need to be logged in to leave comments. Login now