tests/test-extension.t
changeset 29198 a3e5e1fb257c
parent 28623 38dc3f28f478
child 29375 fcaf20175b1b
--- a/tests/test-extension.t	Tue May 10 22:45:45 2016 +0000
+++ b/tests/test-extension.t	Tue May 10 22:52:26 2016 +0000
@@ -958,7 +958,7 @@
   ** Extensions loaded: throw, older
 
 Declare the version as supporting this hg version, show regular bts link:
-  $ hgver=`$PYTHON -c 'from mercurial import util; print util.version().split("+")[0]'`
+  $ hgver=`hg debuginstall -T '{hgver}'`
   $ echo 'testedwith = """'"$hgver"'"""' >> throw.py
   $ if [ -z "$hgver" ]; then
   >   echo "unable to fetch a mercurial version. Make sure __version__ is correct";