revsets: show current revset abort behavior
authorRyan McElroy <rmcelroy@fb.com>
Mon, 13 Apr 2015 21:06:21 -0700
changeset 24707 57f58f96f850
parent 24706 5150b2b5b345
child 24708 fb47816e1a9c
revsets: show current revset abort behavior
tests/test-revset.t
--- a/tests/test-revset.t	Mon Apr 13 13:28:37 2015 -0400
+++ b/tests/test-revset.t	Mon Apr 13 21:06:21 2015 -0700
@@ -1533,4 +1533,9 @@
   1
   3
 
+test error message of bad revset
+  $ hg log -r 'foo\\'
+  hg: parse error at 3: syntax error
+  [255]
+
   $ cd ..