tests: add some re and globs for test-revset on python3
At this point we're down to two deprecation warnings (which I suspect
are showing a bug in the test?) and one weird-looking failure. Progress!
Differential Revision: https://phab.mercurial-scm.org/D2559
--- a/tests/test-revset.t Fri Mar 02 11:38:16 2018 -0500
+++ b/tests/test-revset.t Fri Mar 02 13:47:49 2018 -0500
@@ -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