equal
deleted
inserted
replaced
1543 # i18n: "rev" is a keyword |
1543 # i18n: "rev" is a keyword |
1544 l = int(getstring(l[0], _("rev requires a number"))) |
1544 l = int(getstring(l[0], _("rev requires a number"))) |
1545 except (TypeError, ValueError): |
1545 except (TypeError, ValueError): |
1546 # i18n: "rev" is a keyword |
1546 # i18n: "rev" is a keyword |
1547 raise error.ParseError(_("rev expects a number")) |
1547 raise error.ParseError(_("rev expects a number")) |
1548 if l not in fullreposet(repo): |
1548 if l not in fullreposet(repo) and l != node.nullrev: |
1549 return baseset() |
1549 return baseset() |
1550 return subset & baseset([l]) |
1550 return subset & baseset([l]) |
1551 |
1551 |
1552 def matching(repo, subset, x): |
1552 def matching(repo, subset, x): |
1553 """``matching(revision [, field])`` |
1553 """``matching(revision [, field])`` |