##// END OF EJS Templates
revset: fix traceback for bogus revisions in id(rev)...
Matt Harbison -
r16735:47b8ec0e stable
parent child Browse files
Show More
@@ -740,7 +740,11 b' def node_(repo, subset, x):'
740 740 if len(n) == 40:
741 741 rn = repo[n].rev()
742 742 else:
743 rn = repo.changelog.rev(repo.changelog._partialmatch(n))
743 rn = None
744 pm = repo.changelog._partialmatch(n)
745 if pm is not None:
746 rn = repo.changelog.rev(pm)
747
744 748 return [r for r in subset if r == rn]
745 749
746 750 def outgoing(repo, subset, x):
General Comments 0
You need to be logged in to leave comments. Login now