Mercurial > public > mercurial-scm > hg
diff mercurial/hg.py @ 32495:a25cc3ca874f
local-clone: also copy tags related caches
This caches provide a large speedup for some repositories. Keeping it around is
valuable.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Thu, 25 May 2017 12:09:09 +0200 |
parents | 53a67ba9fb44 |
children | 11c0bb4ccc76 |
line wrap: on
line diff
--- a/mercurial/hg.py Thu May 25 12:05:33 2017 +0200 +++ b/mercurial/hg.py Thu May 25 12:09:09 2017 +0200 @@ -427,6 +427,9 @@ cachefiles = ['branch2'] cachefiles += ['branch2-%s' % f for f in repoview.filtertable] cachefiles += ['rbc-names-v1', 'rbc-revs-v1'] + cachefiles += ['tags2'] + cachefiles += ['tags2-%s' % f for f in repoview.filtertable] + cachefiles += ['hgtagsfnodes1'] return cachefiles def clone(ui, peeropts, source, dest=None, pull=False, rev=None,