##// END OF EJS Templates
revset: drop support for '' as alias for '.'...
Martin von Zweigbergk -
r37281:d2c91283 default
parent child Browse files
Show More
@@ -116,6 +116,8 def _sortedb(xs):
116 116 # operator methods
117 117
118 118 def stringset(repo, subset, x, order):
119 if not x:
120 raise error.ParseError(_("empty string is not a valid revision"))
119 121 x = scmutil.intrev(repo[x])
120 122 if (x in subset
121 123 or x == node.nullrev and isinstance(subset, fullreposet)):
@@ -581,7 +581,8 test empty string
581 581 hg: parse error: empty query
582 582 [255]
583 583 $ log 'parents("")'
584 8
584 hg: parse error: empty string is not a valid revision
585 [255]
585 586
586 587 we can use patterns when searching for tags
587 588
General Comments 0
You need to be logged in to leave comments. Login now