Show More
@@ -362,7 +362,12 b' class localrepository(repo.repository):' | |||
|
362 | 362 | tags = {} |
|
363 | 363 | for (name, (node, hist)) in alltags.iteritems(): |
|
364 | 364 | if node != nullid: |
|
365 | tags[encoding.tolocal(name)] = node | |
|
365 | try: | |
|
366 | # ignore tags to unknown nodes | |
|
367 | self.changelog.lookup(node) | |
|
368 | tags[encoding.tolocal(name)] = node | |
|
369 | except error.LookupError: | |
|
370 | pass | |
|
366 | 371 | tags['tip'] = self.changelog.tip() |
|
367 | 372 | tagtypes = dict([(encoding.tolocal(name), value) |
|
368 | 373 | for (name, value) in tagtypes.iteritems()]) |
General Comments 0
You need to be logged in to leave comments.
Login now