comparison tests/test-extension.t @ 17227:7af38fe1f829 stable

test-extension.t: use fixed version string instead of current tag Currently tests break with the current tag being 2.3-rc and tags set by the user could affect this test, too.
author Thomas Arendsen Hein <thomas@intevation.de>
date Thu, 19 Jul 2012 16:50:52 +0200
parents 50fbe9063ff2
children d1b49b02bc16
comparison
equal deleted inserted replaced
17226:436cc9d017c6 17227:7af38fe1f829
508 ** If that fixes the bug please report it to http://example.com/bts 508 ** If that fixes the bug please report it to http://example.com/bts
509 ** Python * (glob) 509 ** Python * (glob)
510 ** Mercurial Distributed SCM (*) (glob) 510 ** Mercurial Distributed SCM (*) (glob)
511 ** Extensions loaded: throw 511 ** Extensions loaded: throw
512 If the extensions declare outdated versions, accuse the older extension first: 512 If the extensions declare outdated versions, accuse the older extension first:
513 $ echo "from mercurial import util" >> older.py
514 $ echo "util.version = lambda:'2.2'" >> older.py
513 $ echo "testedwith = '1.9.3'" >> older.py 515 $ echo "testedwith = '1.9.3'" >> older.py
514 $ echo "testedwith = '2.1.1'" >> throw.py 516 $ echo "testedwith = '2.1.1'" >> throw.py
515 $ rm -f throw.pyc throw.pyo 517 $ rm -f throw.pyc throw.pyo
516 $ hg --config extensions.throw=throw.py --config extensions.older=older.py \ 518 $ hg --config extensions.throw=throw.py --config extensions.older=older.py \
517 > throw 2>&1 | egrep '^\*\*' 519 > throw 2>&1 | egrep '^\*\*'