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

login
register
mail settings
Submitter Ryan McElroy
Date April 14, 2015, 4:32 a.m.
Message ID <e92f07c0e06691df67b0.1428985971@devbig105.prn2.facebook.com>
Download mbox | patch
Permalink /patch/8644/
State Accepted
Headers show

Comments

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

Patch

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