Show More
@@ -946,6 +946,9 b' Older extension is tested with current v' | |||||
946 | Declare the version as supporting this hg version, show regular bts link: |
|
946 | Declare the version as supporting this hg version, show regular bts link: | |
947 | $ hgver=`$PYTHON -c 'from mercurial import util; print util.version().split("+")[0]'` |
|
947 | $ hgver=`$PYTHON -c 'from mercurial import util; print util.version().split("+")[0]'` | |
948 | $ echo 'testedwith = """'"$hgver"'"""' >> throw.py |
|
948 | $ echo 'testedwith = """'"$hgver"'"""' >> throw.py | |
|
949 | $ if [ -z "$hgver" ]; then | |||
|
950 | > echo "unable to fetch a mercurial version. Make sure __version__ is correct"; | |||
|
951 | > fi | |||
949 | $ rm -f throw.pyc throw.pyo |
|
952 | $ rm -f throw.pyc throw.pyo | |
950 | $ hg --config extensions.throw=throw.py throw 2>&1 | egrep '^\*\*' |
|
953 | $ hg --config extensions.throw=throw.py throw 2>&1 | egrep '^\*\*' | |
951 | ** unknown exception encountered, please report by visiting |
|
954 | ** unknown exception encountered, please report by visiting |
General Comments 0
You need to be logged in to leave comments.
Login now