Patchwork D2559: tests: add some re and globs for test-revset on python3

login
register
mail settings
Submitter phabricator
Date March 2, 2018, 8:25 p.m.
Message ID <8667c4d4c685c206757e97aea4eafc50@localhost.localdomain>
Download mbox | patch
Permalink /patch/28719/
State Not Applicable
Headers show

Comments

phabricator - March 2, 2018, 8:25 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGedf736c3c064: tests: add some re and globs for test-revset on python3 (authored by durin42, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D2559?vs=6376&id=6382

REVISION DETAIL
  https://phab.mercurial-scm.org/D2559

AFFECTED FILES
  tests/test-revset.t

CHANGE DETAILS




To: durin42, #hg-reviewers, yuja
Cc: mercurial-devel

Patch

diff --git a/tests/test-revset.t b/tests/test-revset.t
--- a/tests/test-revset.t
+++ b/tests/test-revset.t
@@ -410,7 +410,7 @@ 
   hg: parse error at 5: not a prefix: end
   [255]
   $ log 'date("\xy")'
-  hg: parse error: invalid \x escape
+  hg: parse error: invalid \x escape* (glob)
   [255]
   $ log 'date(tip)'
   hg: parse error: invalid date: 'tip'
@@ -1309,7 +1309,7 @@ 
   (func
     (symbol 'grep')
     (string '('))
-  hg: parse error: invalid match pattern: unbalanced parenthesis
+  hg: parse error: invalid match pattern: (unbalanced parenthesis|missing \),.*) (re)
   [255]
   $ try 'grep("\bissue\d+")'
   (func