equal
deleted
inserted
replaced
368 def _files_to_copy_post_revlog_clone(srcrepo): |
368 def _files_to_copy_post_revlog_clone(srcrepo): |
369 """yields files which should be copied to destination after revlogs |
369 """yields files which should be copied to destination after revlogs |
370 are cloned""" |
370 are cloned""" |
371 for path, kind, st in sorted(srcrepo.store.vfs.readdir(b'', stat=True)): |
371 for path, kind, st in sorted(srcrepo.store.vfs.readdir(b'', stat=True)): |
372 # don't copy revlogs as they are already cloned |
372 # don't copy revlogs as they are already cloned |
373 if store.revlog_type(path) is not None: |
373 if store.is_revlog_file(path): |
374 continue |
374 continue |
375 # Skip transaction related files. |
375 # Skip transaction related files. |
376 if path.startswith(b'undo'): |
376 if path.startswith(b'undo'): |
377 continue |
377 continue |
378 # Only copy regular files. |
378 # Only copy regular files. |