tests/test-revset.t
changeset 12316 4134686b83e1
parent 12105 6f58430dfdd0
child 12321 11db6fa2961e
--- a/tests/test-revset.t	Thu Sep 16 16:12:26 2010 -0500
+++ b/tests/test-revset.t	Thu Sep 16 17:51:32 2010 -0500
@@ -61,6 +61,7 @@
   marked working directory as branch all
   $ hg ci --close-branch -Aqm8
   abort: can only close branch heads
+  [255]
 
   $ hg co 4
   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
@@ -97,11 +98,13 @@
   7
   $ try -- '-a-b-c-' # complains
   hg: parse error at 7: not a prefix: end
+  [255]
   $ log -a-b-c- # succeeds with fallback
   4
   $ try -- -a-b-c--a # complains
   ('minus', ('minus', ('minus', ('negate', ('symbol', 'a')), ('symbol', 'b')), ('symbol', 'c')), ('negate', ('symbol', 'a')))
   abort: unknown revision '-a'!
+  [255]
   $ try é
   ('symbol', '\xc3\xa9')
   9
@@ -143,21 +146,28 @@
   4
   $ log 'date(this is a test)'
   hg: parse error at 10: unexpected token: symbol
+  [255]
   $ log 'date()'
   hg: parse error: date wants a string
+  [255]
   $ log 'date'
   hg: parse error: can't use date here
+  [255]
   $ log 'date('
   hg: parse error at 5: not a prefix: end
+  [255]
   $ log 'date(tip)'
   abort: invalid date: 'tip'
+  [255]
   $ log '"date"'
   abort: unknown revision 'date'!
+  [255]
   $ log 'date(2005) and 1::'
   4
 
   $ log 'ancestor(1)'
   hg: parse error: ancestor wants two arguments
+  [255]
   $ log 'ancestor(4,5)'
   1
   $ log 'ancestor(4,5) and 4'