diff tests/test-revset.t @ 27517:c60a9c16ae25

revset: add hint for list error to use or
author timeless <timeless@mozdev.org>
date Wed, 23 Dec 2015 17:54:03 +0000
parents 7afaf2566e25
children 42910f9fffeb
line wrap: on
line diff
--- a/tests/test-revset.t	Wed Dec 23 17:39:32 2015 +0000
+++ b/tests/test-revset.t	Wed Dec 23 17:54:03 2015 +0000
@@ -1163,6 +1163,12 @@
   0
   -1
 
+test ',' in `_list`
+  $ log '0,1'
+  hg: parse error: can't use a list in this context
+  (see hg help "revsets.x or y")
+  [255]
+
 test that chained `or` operations make balanced addsets
 
   $ try '0:1|1:2|2:3|3:4|4:5'