tests/test-glog.t
changeset 16183 112a70c56d6a
parent 16182 bd12ef347680
child 16184 6863caf01daa
--- a/tests/test-glog.t	Sun Feb 26 17:10:55 2012 +0100
+++ b/tests/test-glog.t	Sun Feb 26 17:10:56 2012 +0100
@@ -1456,35 +1456,12 @@
   ('group', ('group', ('or', ('func', ('symbol', 'keyword'), ('string', 'expand')), ('func', ('symbol', 'keyword'), ('string', 'merge')))))
   $ hg log -G --removed --template 'nodetag {rev}\n' | grep nodetag | wc -l
   \s*0 (re)
-  $ hg log -G --only-merges --template 'nodetag {rev}\n' | grep nodetag | wc -l
-  \s*28 (re)
-  $ hg log -G --no-merges --template 'nodetag {rev}\n'
-  o  nodetag 35
-  |
-  o    nodetag 34
-  |\
-  | \
-  | |\
-  | | \
-  | | |\
-  | | | \
-  | | | |\
-  | | | | \
-  | | | | |\
-  +-+-+-+-----o  nodetag 33
-  | | | | | |
-  +---------o  nodetag 29
-  | | | | |
-  +-+-+---o  nodetag 27
-  | | | |/
-  | | | o  nodetag 3
-  | | |/
-  | | o  nodetag 2
-  | |/
-  | o  nodetag 1
-  |/
-  o  nodetag 0
-  
+  $ testlog --only-merges
+  ('group', ('func', ('symbol', 'merge'), None))
+  $ testlog --no-merges
+  ('group', ('not', ('func', ('symbol', 'merge'), None)))
+  $ testlog --date '2 0 to 4 0'
+  ('group', ('func', ('symbol', 'date'), ('string', '2 0 to 4 0')))
   $ hg log -G -d 'brace ) in a date'
   abort: invalid date: 'brace ) in a date'
   [255]