equal
deleted
inserted
replaced
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: |