[PATCH 1 of 2] revsets: show current revset abort behavior

Ryan McElroy rmcelroy at fb.com
Tue Apr 14 04:32:51 UTC 2015


# HG changeset patch
# User Ryan McElroy <rmcelroy at fb.com>
# Date 1428984381 25200
#      Mon Apr 13 21:06:21 2015 -0700
# Node ID e92f07c0e06691df67b06488c37b8b742b667809
# Parent  52ff737c63d2b2cb41185549aa9c35bc47317032
revsets: show current revset abort behavior

diff --git a/tests/test-revset.t b/tests/test-revset.t
--- a/tests/test-revset.t
+++ b/tests/test-revset.t
@@ -1533,4 +1533,9 @@ test in problematic encoding
   1
   3
 
+test error message of bad revset
+  $ hg log -r 'foo\\'
+  hg: parse error at 3: syntax error
+  [255]
+
   $ cd ..


More information about the Mercurial-devel mailing list