mercurial/hg.py
changeset 32495 a25cc3ca874f
parent 32494 53a67ba9fb44
child 32970 11c0bb4ccc76
equal deleted inserted replaced
32494:53a67ba9fb44 32495:a25cc3ca874f
   425     # In local clones we're copying all nodes, not just served
   425     # In local clones we're copying all nodes, not just served
   426     # ones. Therefore copy all branch caches over.
   426     # ones. Therefore copy all branch caches over.
   427     cachefiles = ['branch2']
   427     cachefiles = ['branch2']
   428     cachefiles += ['branch2-%s' % f for f in repoview.filtertable]
   428     cachefiles += ['branch2-%s' % f for f in repoview.filtertable]
   429     cachefiles += ['rbc-names-v1', 'rbc-revs-v1']
   429     cachefiles += ['rbc-names-v1', 'rbc-revs-v1']
       
   430     cachefiles += ['tags2']
       
   431     cachefiles += ['tags2-%s' % f for f in repoview.filtertable]
       
   432     cachefiles += ['hgtagsfnodes1']
   430     return cachefiles
   433     return cachefiles
   431 
   434 
   432 def clone(ui, peeropts, source, dest=None, pull=False, rev=None,
   435 def clone(ui, peeropts, source, dest=None, pull=False, rev=None,
   433           update=True, stream=False, branch=None, shareopts=None):
   436           update=True, stream=False, branch=None, shareopts=None):
   434     """Make a copy of an existing repository.
   437     """Make a copy of an existing repository.