mercurial/tags.py
changeset 51596 6378d57562af
parent 51526 a03fa40afd01
child 51597 b4a6a1ff8fce
equal deleted inserted replaced
51595:3a6fae3bef35 51596:6378d57562af
    76 # Tags are written sorted by tag name.
    76 # Tags are written sorted by tag name.
    77 #
    77 #
    78 # Tags associated with multiple changesets have an entry for each changeset.
    78 # Tags associated with multiple changesets have an entry for each changeset.
    79 # The most recent changeset (in terms of revlog ordering for the head
    79 # The most recent changeset (in terms of revlog ordering for the head
    80 # setting it) for each tag is last.
    80 # setting it) for each tag is last.
       
    81 
       
    82 
       
    83 def warm_cache(repo):
       
    84     """ensure the cache is properly filled"""
       
    85     unfi = repo.unfiltered()
       
    86     fnoderevs(repo.ui, unfi, unfi.changelog.revs())
    81 
    87 
    82 
    88 
    83 def fnoderevs(ui, repo, revs):
    89 def fnoderevs(ui, repo, revs):
    84     """return the list of '.hgtags' fnodes used in a set revisions
    90     """return the list of '.hgtags' fnodes used in a set revisions
    85 
    91