diff mercurial/store.py @ 28006:bb45190a54b7

treemanifests: fix local clone When doing a local clone with treemanifests, the .hg/store/meta/ directory currently does not get copied. To fix it, all we need to do is to add it to the list of directories to copy.
author Martin von Zweigbergk <martinvonz@google.com>
date Tue, 02 Feb 2016 17:31:17 -0800
parents 509159675cdb
children fb92927f9775
line wrap: on
line diff
--- a/mercurial/store.py	Wed Feb 03 15:35:23 2016 -0800
+++ b/mercurial/store.py	Tue Feb 02 17:31:17 2016 -0800
@@ -290,7 +290,7 @@
         mode = None
     return mode
 
-_data = ('data 00manifest.d 00manifest.i 00changelog.d 00changelog.i'
+_data = ('data meta 00manifest.d 00manifest.i 00changelog.d 00changelog.i'
          ' phaseroots obsstore')
 
 class basicstore(object):
@@ -504,7 +504,7 @@
                     raise
 
     def copylist(self):
-        d = ('data dh fncache phaseroots obsstore'
+        d = ('data meta dh fncache phaseroots obsstore'
              ' 00manifest.d 00manifest.i 00changelog.d 00changelog.i')
         return (['requires', '00changelog.i'] +
                 ['store/' + f for f in d.split()])