equal
deleted
inserted
replaced
388 def _files_to_copy_post_revlog_clone(srcrepo): |
388 def _files_to_copy_post_revlog_clone(srcrepo): |
389 """yields files which should be copied to destination after revlogs |
389 """yields files which should be copied to destination after revlogs |
390 are cloned""" |
390 are cloned""" |
391 for path, kind, st in sorted(srcrepo.store.vfs.readdir(b'', stat=True)): |
391 for path, kind, st in sorted(srcrepo.store.vfs.readdir(b'', stat=True)): |
392 # don't copy revlogs as they are already cloned |
392 # don't copy revlogs as they are already cloned |
393 if path.endswith((b'.i', b'.d', b'.n', b'.nd')): |
393 if store.revlog_type(path) is not None: |
394 continue |
394 continue |
395 # Skip transaction related files. |
395 # Skip transaction related files. |
396 if path.startswith(b'undo'): |
396 if path.startswith(b'undo'): |
397 continue |
397 continue |
398 # Only copy regular files. |
398 # Only copy regular files. |