--- 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 ..