Show More
@@ -390,10 +390,7 class localrepository(repo.repository): | |||||
390 | '''return a list of tags ordered by revision''' |
|
390 | '''return a list of tags ordered by revision''' | |
391 | l = [] |
|
391 | l = [] | |
392 | for t, n in self.tags().iteritems(): |
|
392 | for t, n in self.tags().iteritems(): | |
393 | try: |
|
|||
394 |
|
|
393 | r = self.changelog.rev(n) | |
395 | except error.LookupError: |
|
|||
396 | r = -2 # sort to the beginning of the list if unknown |
|
|||
397 | l.append((r, t, n)) |
|
394 | l.append((r, t, n)) | |
398 | return [(t, n) for r, t, n in sorted(l)] |
|
395 | return [(t, n) for r, t, n in sorted(l)] | |
399 |
|
396 |
General Comments 0
You need to be logged in to leave comments.
Login now