소스 검색

also copy the cache config file to workaround #234

Antoine Beaupré 9 년 전
부모
커밋
3e7fa0d633
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      borg/converter.py

+ 1 - 1
borg/converter.py

@@ -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'))