equal
deleted
inserted
replaced
88 copydata = oldrl.opener.exists(oldrl._datafile) |
88 copydata = oldrl.opener.exists(oldrl._datafile) |
89 if copydata: |
89 if copydata: |
90 util.copyfile(olddata, newdata) |
90 util.copyfile(olddata, newdata) |
91 |
91 |
92 if entry.revlog_type & store.FILEFLAGS_FILELOG: |
92 if entry.revlog_type & store.FILEFLAGS_FILELOG: |
93 unencodedname = entry.unencoded_path |
93 unencodedname = entry.main_file_path() |
94 destrepo.svfs.fncache.add(unencodedname) |
94 destrepo.svfs.fncache.add(unencodedname) |
95 if copydata: |
95 if copydata: |
96 destrepo.svfs.fncache.add(unencodedname[:-2] + b'.d') |
96 destrepo.svfs.fncache.add(unencodedname[:-2] + b'.d') |
97 |
97 |
98 |
98 |
130 sidedata_helpers, |
130 sidedata_helpers, |
131 oncopiedrevision, |
131 oncopiedrevision, |
132 ): |
132 ): |
133 """returns the new revlog object created""" |
133 """returns the new revlog object created""" |
134 newrl = None |
134 newrl = None |
135 revlog_path = entry.unencoded_path |
135 revlog_path = entry.main_file_path() |
136 if matchrevlog(upgrade_op.revlogs_to_process, entry.revlog_type): |
136 if matchrevlog(upgrade_op.revlogs_to_process, entry.revlog_type): |
137 ui.note( |
137 ui.note( |
138 _(b'cloning %d revisions from %s\n') |
138 _(b'cloning %d revisions from %s\n') |
139 % (len(old_revlog), revlog_path) |
139 % (len(old_revlog), revlog_path) |
140 ) |
140 ) |