Show More
@@ -116,6 +116,8 def _sortedb(xs): | |||||
116 | # operator methods |
|
116 | # operator methods | |
117 |
|
117 | |||
118 | def stringset(repo, subset, x, order): |
|
118 | def stringset(repo, subset, x, order): | |
|
119 | if not x: | |||
|
120 | raise error.ParseError(_("empty string is not a valid revision")) | |||
119 | x = scmutil.intrev(repo[x]) |
|
121 | x = scmutil.intrev(repo[x]) | |
120 | if (x in subset |
|
122 | if (x in subset | |
121 | or x == node.nullrev and isinstance(subset, fullreposet)): |
|
123 | or x == node.nullrev and isinstance(subset, fullreposet)): |
@@ -581,7 +581,8 test empty string | |||||
581 | hg: parse error: empty query |
|
581 | hg: parse error: empty query | |
582 | [255] |
|
582 | [255] | |
583 | $ log 'parents("")' |
|
583 | $ log 'parents("")' | |
584 | 8 |
|
584 | hg: parse error: empty string is not a valid revision | |
|
585 | [255] | |||
585 |
|
586 | |||
586 | we can use patterns when searching for tags |
|
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