changeset 16172:db75321c7a0e

test-glog: test multiple --prune values
author Patrick Mezard <patrick@mezard.eu>
date Sat, 25 Feb 2012 22:11:35 +0100
parents 336e61875335
children 9178d284b880
files tests/test-glog.t
diffstat 1 files changed, 2 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-glog.t	Sat Feb 25 22:11:34 2012 +0100
+++ b/tests/test-glog.t	Sat Feb 25 22:11:35 2012 +0100
@@ -1490,15 +1490,8 @@
   $ hg log -G -d 'brace ) in a date'
   abort: invalid date: 'brace ) in a date'
   [255]
-  $ hg log -G -P 32 --template '{rev}\n'
-  @  36
-  |
-  o  35
-  |
-  o  34
-  |
-  | o  33
-  | |
+  $ testlog --prune 31 --prune 32
+  ('group', ('group', ('and', ('not', ('group', ('or', ('string', '31'), ('func', ('symbol', 'ancestors'), ('string', '31'))))), ('not', ('group', ('or', ('string', '32'), ('func', ('symbol', 'ancestors'), ('string', '32'))))))))
   $ hg log -G --follow a
   abort: -G/--graph option is incompatible with --follow with file argument
   [255]