equal
deleted
inserted
replaced
714 destrepo.svfs.fncache.add(unencodedname[:-2] + b'.d') |
714 destrepo.svfs.fncache.add(unencodedname[:-2] + b'.d') |
715 |
715 |
716 |
716 |
717 UPGRADE_CHANGELOG = object() |
717 UPGRADE_CHANGELOG = object() |
718 UPGRADE_MANIFEST = object() |
718 UPGRADE_MANIFEST = object() |
719 UPGRADE_FILELOG = object() |
719 UPGRADE_FILELOGS = object() |
720 |
720 |
721 UPGRADE_ALL_REVLOGS = frozenset( |
721 UPGRADE_ALL_REVLOGS = frozenset( |
722 [UPGRADE_CHANGELOG, UPGRADE_MANIFEST, UPGRADE_FILELOG] |
722 [UPGRADE_CHANGELOG, UPGRADE_MANIFEST, UPGRADE_FILELOGS] |
723 ) |
723 ) |
724 |
724 |
725 |
725 |
726 def getsidedatacompanion(srcrepo, dstrepo): |
726 def getsidedatacompanion(srcrepo, dstrepo): |
727 sidedatacompanion = None |
727 sidedatacompanion = None |
751 The store entry is checked against the passed filter""" |
751 The store entry is checked against the passed filter""" |
752 if entry.endswith(b'00changelog.i'): |
752 if entry.endswith(b'00changelog.i'): |
753 return UPGRADE_CHANGELOG in revlogfilter |
753 return UPGRADE_CHANGELOG in revlogfilter |
754 elif entry.endswith(b'00manifest.i'): |
754 elif entry.endswith(b'00manifest.i'): |
755 return UPGRADE_MANIFEST in revlogfilter |
755 return UPGRADE_MANIFEST in revlogfilter |
756 return UPGRADE_FILELOG in revlogfilter |
756 return UPGRADE_FILELOGS in revlogfilter |
757 |
757 |
758 |
758 |
759 def _clonerevlogs( |
759 def _clonerevlogs( |
760 ui, |
760 ui, |
761 srcrepo, |
761 srcrepo, |