test-extension.t: use fixed version string instead of current tag stable
authorThomas Arendsen Hein <thomas@intevation.de>
Thu, 19 Jul 2012 16:50:52 +0200
branchstable
changeset 17227 7af38fe1f829
parent 17226 436cc9d017c6
child 17228 d1b49b02bc16
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.
tests/test-extension.t
--- a/tests/test-extension.t	Wed Jul 18 19:09:06 2012 -0500
+++ b/tests/test-extension.t	Thu Jul 19 16:50:52 2012 +0200
@@ -510,6 +510,8 @@
   ** Mercurial Distributed SCM (*) (glob)
   ** Extensions loaded: throw
 If the extensions declare outdated versions, accuse the older extension first:
+  $ echo "from mercurial import util" >> older.py
+  $ echo "util.version = lambda:'2.2'" >> older.py
   $ echo "testedwith = '1.9.3'" >> older.py
   $ echo "testedwith = '2.1.1'" >> throw.py
   $ rm -f throw.pyc throw.pyo