Show More
@@ -1547,7 +1547,7 b' def rev(repo, subset, x):' | |||||
1547 | except (TypeError, ValueError): |
|
1547 | except (TypeError, ValueError): | |
1548 | # i18n: "rev" is a keyword |
|
1548 | # i18n: "rev" is a keyword | |
1549 | raise error.ParseError(_("rev expects a number")) |
|
1549 | raise error.ParseError(_("rev expects a number")) | |
1550 |
if l not in |
|
1550 | if l not in repo.changelog and l != node.nullrev: | |
1551 | return baseset() |
|
1551 | return baseset() | |
1552 | return subset & baseset([l]) |
|
1552 | return subset & baseset([l]) | |
1553 |
|
1553 |
General Comments 0
You need to be logged in to leave comments.
Login now