[PATCH 3 of 5] test-glog: test multiple --prune values

Patrick Mezard patrick at mezard.eu
Sat Feb 25 21:17:43 UTC 2012


# HG changeset patch
# User Patrick Mezard <patrick at mezard.eu>
# Date 1330204295 -3600
# Node ID e3718c2b947784e1ebfa1b81124409e862f800af
# Parent  54483f79d991dbabb67df84bf0a12c5779200495
test-glog: test multiple --prune values

diff --git a/tests/test-glog.t b/tests/test-glog.t
--- a/tests/test-glog.t
+++ b/tests/test-glog.t
@@ -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]



More information about the Mercurial-devel mailing list