Commits

Pierre-Yves David  committed 80f602e

test: graphlog honor --hidden honor in 2.2

  • Participants
  • Parent commits 7ba30bd
  • Branches default

Comments (0)

Files changed (1)

File tests/test-obsolete.t

   > [alias]
   > odiff=diff --rev 'limit(obsparents(.),1)' --rev .
   > [extensions]
+  > hgext.graphlog=
   > EOF
   $ echo "obsolete=$(echo $(dirname $TESTDIR))/hgext/obsolete.py" >> $HGRCPATH
   $ mkcommit() {
 
 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
   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