tests/test-obsolete.t
changeset 206 80f602e6ae8a
parent 150 f12fd2410a60
child 214 a140d1857931
--- a/tests/test-obsolete.t	Mon Apr 23 14:54:06 2012 +0200
+++ b/tests/test-obsolete.t	Mon Apr 23 15:03:33 2012 +0200
@@ -9,6 +9,7 @@
   > [alias]
   > odiff=diff --rev 'limit(obsparents(.),1)' --rev .
   > [extensions]
+  > hgext.graphlog=
   > EOF
   $ echo "obsolete=$(echo $(dirname $TESTDIR))/hgext/obsolete.py" >> $HGRCPATH
   $ mkcommit() {
@@ -341,7 +342,7 @@
 
 check rebase compat
 
-  $ hg --config extensions.graphlog= glog -r 'not extinct()'  --template='{rev} - {node|short}\n'
+  $ hg glog -r 'not extinct()'  --template='{rev} - {node|short}\n'
   o  8 - 159dfc9fa5d3
   |
   | o  4 - 725c380fe99b
@@ -353,7 +354,7 @@
   o  0 - 1f0dee641bb7
   
 
-  $ hg --config extensions.graphlog= glog  --template='{rev} - {node|short}\n'
+  $ hg glog  --template='{rev} - {node|short}\n' `(hg --version | grep -q 'version 2.1') ||  echo '--hidden'`
   o  9 - 83b5778897ad
   
   o  8 - 159dfc9fa5d3