also copy the cache config file to workaround #234

This commit is contained in:
Antoine Beaupré 2015-10-01 16:41:17 -04:00
parent 8022e563a9
commit 3e7fa0d633
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ class AtticRepositoryConverter(Repository):
# XXX: untested, because generating cache files is a PITA, see
# Archiver.do_create() for proof
for cache in [ 'files', 'chunks' ]:
for cache in [ 'files', 'chunks', 'config' ]:
attic_cache = os.path.join(attic_cache_dir, hexlify(self.id).decode('ascii'), cache)
if os.path.exists(attic_cache):
borg_cache_dir = os.path.join(get_cache_dir(), hexlify(self.id).decode('ascii'))