##// 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 def node_(repo, subset, x):
740 if len(n) == 40:
740 if len(n) == 40:
741 rn = repo[n].rev()
741 rn = repo[n].rev()
742 else:
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 return [r for r in subset if r == rn]
748 return [r for r in subset if r == rn]
745
749
746 def outgoing(repo, subset, x):
750 def outgoing(repo, subset, x):
General Comments 0
You need to be logged in to leave comments. Login now