Show More
@@ -516,7 +516,11 b' class localrepository(object):' | |||||
516 | def tags(self): |
|
516 | def tags(self): | |
517 | '''return a mapping of tag to node''' |
|
517 | '''return a mapping of tag to node''' | |
518 | t = {} |
|
518 | t = {} | |
519 | for k, v in self._tagscache.tags.iteritems(): |
|
519 | if self.changelog.filteredrevs: | |
|
520 | tags, tt = self._findtags() | |||
|
521 | else: | |||
|
522 | tags = self._tagscache.tags | |||
|
523 | for k, v in tags.iteritems(): | |||
520 | try: |
|
524 | try: | |
521 | # ignore tags to unknown nodes |
|
525 | # ignore tags to unknown nodes | |
522 | self.changelog.rev(v) |
|
526 | self.changelog.rev(v) |
General Comments 0
You need to be logged in to leave comments.
Login now