Commits

Pierre-Yves David committed 1c45a07

test-obsolete: clean up useless inlined option

rebase is enabled globally and graphlog is into core

Comments (0)

Files changed (1)

tests/test-obsolete.t

   > [alias]
   > odiff=diff --rev 'limit(precursors(.),1)' --rev .
   > [extensions]
-  > hgext.graphlog=
   > hgext.rebase=
   > EOF
   $ echo "evolve=$(echo $(dirname $TESTDIR))/hgext/evolve.py" >> $HGRCPATH
 
 Test obsolete keyword
 
-  $ hg glog --template '{rev}:{node|short}@{branch}({obsolete}/{phase}) {desc|firstline}\n' \
+  $ hg log -G --template '{rev}:{node|short}@{branch}({obsolete}/{phase}) {desc|firstline}\n' \
   >   --hidden
   @  5:a7a6f2b5d8a5@default(unstable/draft) add d
   |
 
 check rebase compat
 
-  $ hg glog -r 'not extinct()'  --template='{rev} - {node|short}\n'
+  $ hg log -G -r 'not extinct()'  --template='{rev} - {node|short}\n'
   o  8 - 159dfc9fa5d3
   |
   | o  4 - 725c380fe99b
   o  0 - 1f0dee641bb7
   
 
-  $ hg glog  --template='{rev} - {node|short}\n' --hidden
+  $ hg log -G  --template='{rev} - {node|short}\n' --hidden
   x  9 - 83b5778897ad
   
   o  8 - 159dfc9fa5d3
 
 should not rebase extinct changeset
 
-  $ hg --config extensions.hgext.rebase= rebase -s 7 -d 4
+  $ hg rebase -s 7 -d 4
   whole rebase set is extinct and ignored.
   nothing to rebase
   [1]
-  $ hg --config extensions.hgext.rebase= rebase -b 3 -d 4 --traceback
-  $ hg --config extensions.graphlog= glog -r 'not extinct()'  --template='{rev} - {node|short}\n'
+  $ hg rebase -b 3 -d 4 --traceback
+  $ hg log -G -r 'not extinct()'  --template='{rev} - {node|short}\n'
   @  11 - 9468a5f5d8b2
   |
   o  10 - 2033b4e49474
   $ cd local
   $ hg phase --public 11
   1 new latecomer changesets
-  $ hg --config extensions.graphlog=glog glog --template='{rev} - ({phase}) {node|short} {desc}\n'
+  $ hg log -G --template='{rev} - ({phase}) {node|short} {desc}\n'
   @  12 - (draft) 6db5e282cb91 add obsol_d'''
   |
   | o  11 - (public) 9468a5f5d8b2 add obsol_d''
   created new head
   $ echo 42 >> f
   $ hg commit --amend --traceback --quiet
-  $ hg glog
+  $ hg log -G
   @  changeset:   1[35]:3734a65252e6 (re)
   |  tag:         tip
   |  parent:      10:2033b4e49474
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.