##// END OF EJS Templates
localrepo: ignore tags to unknown nodes (issue2750)
Idan Kamara -
r13892:31d15f76 default
parent child Browse files
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 try:
366 # ignore tags to unknown nodes
367 self.changelog.lookup(node)
365 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