changeset 24707:57f58f96f850

revsets: show current revset abort behavior
author Ryan McElroy <rmcelroy@fb.com>
date Mon, 13 Apr 2015 21:06:21 -0700
parents 5150b2b5b345
children fb47816e1a9c
files tests/test-revset.t
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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 ..