mercurial/tags.py
changeset 41759 aaad36b88298
parent 41676 0531dff73d0b
child 41841 b1d07f4614a6
equal deleted inserted replaced
41758:15d3facfa40a 41759:aaad36b88298
   186         alltags = {}
   186         alltags = {}
   187         _updatetags(cachetags, alltags)
   187         _updatetags(cachetags, alltags)
   188         return alltags
   188         return alltags
   189 
   189 
   190     for head in reversed(heads):  # oldest to newest
   190     for head in reversed(heads):  # oldest to newest
   191         assert head in repo.changelog.nodemap, \
   191         assert head in repo.changelog.nodemap, (
   192                "tag cache returned bogus head %s" % short(head)
   192                "tag cache returned bogus head %s" % short(head))
   193     fnodes = _filterfnodes(tagfnode, reversed(heads))
   193     fnodes = _filterfnodes(tagfnode, reversed(heads))
   194     alltags = _tagsfromfnodes(ui, repo, fnodes)
   194     alltags = _tagsfromfnodes(ui, repo, fnodes)
   195 
   195 
   196     # and update the cache (if necessary)
   196     # and update the cache (if necessary)
   197     if shouldwrite:
   197     if shouldwrite: