##// END OF EJS Templates
upgrade: rename `_copyrevlogs` to `_clonerevlogs`...
marmoute -
r42917:095dcdd0 default
parent child Browse files
Show More
@@ -533,7 +533,7 b' def _revlogfrompath(repo, path):'
533 #reverse of "/".join(("data", path + ".i"))
533 #reverse of "/".join(("data", path + ".i"))
534 return filelog.filelog(repo.svfs, path[5:-2])
534 return filelog.filelog(repo.svfs, path[5:-2])
535
535
536 def _copyrevlogs(ui, srcrepo, dstrepo, tr, deltareuse, forcedeltabothparents):
536 def _clonerevlogs(ui, srcrepo, dstrepo, tr, deltareuse, forcedeltabothparents):
537 """Copy revlogs between 2 repos."""
537 """Copy revlogs between 2 repos."""
538 revcount = 0
538 revcount = 0
539 srcsize = 0
539 srcsize = 0
@@ -745,7 +745,7 b' def _upgraderepo(ui, srcrepo, dstrepo, r'
745 deltareuse = revlog.revlog.DELTAREUSEALWAYS
745 deltareuse = revlog.revlog.DELTAREUSEALWAYS
746
746
747 with dstrepo.transaction('upgrade') as tr:
747 with dstrepo.transaction('upgrade') as tr:
748 _copyrevlogs(ui, srcrepo, dstrepo, tr, deltareuse,
748 _clonerevlogs(ui, srcrepo, dstrepo, tr, deltareuse,
749 're-delta-multibase' in actions)
749 're-delta-multibase' in actions)
750
750
751 # Now copy other files in the store directory.
751 # Now copy other files in the store directory.
General Comments 0
You need to be logged in to leave comments. Login now