D3017: tests: add test showing current parse of empty string symbol in revset
martinvonz (Martin von Zweigbergk)
phabricator at mercurial-scm.org
Mon Apr 2 14:48:12 EDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG0dbc6f37c8fc: tests: add test showing current parse of empty string symbol in revset (authored by martinvonz, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D3017?vs=7508&id=7515
REVISION DETAIL
https://phab.mercurial-scm.org/D3017
AFFECTED FILES
tests/test-revset2.t
CHANGE DETAILS
diff --git a/tests/test-revset2.t b/tests/test-revset2.t
--- a/tests/test-revset2.t
+++ b/tests/test-revset2.t
@@ -575,6 +575,14 @@
hg: parse error: not a symbol
[255]
+test empty string
+
+ $ log ''
+ hg: parse error: empty query
+ [255]
+ $ log 'parents("")'
+ 8
+
we can use patterns when searching for tags
$ log 'tag("1..*")'
To: martinvonz, #hg-reviewers, pulkit
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list