##// END OF EJS Templates
engine: pass upgrade operation inside _clonerevlogs()...
Pulkit Goyal -
r46833:34efa84a default
parent child Browse files
Show More
@@ -159,9 +159,7 b' def _clonerevlogs('
159 159 srcrepo,
160 160 dstrepo,
161 161 tr,
162 deltareuse,
163 forcedeltabothparents,
164 revlogs=UPGRADE_ALL_REVLOGS,
162 upgrade_op,
165 163 ):
166 164 """Copy revlogs between 2 repos."""
167 165 revcount = 0
@@ -278,9 +276,9 b' def _clonerevlogs('
278 276 tr,
279 277 oldrl,
280 278 unencoded,
281 deltareuse,
282 forcedeltabothparents,
283 revlogs,
279 upgrade_op.delta_reuse_mode,
280 upgrade_op.has_upgrade_action(b're-delta-multibase'),
281 upgrade_op.revlogs_to_process,
284 282 sidedatacompanion,
285 283 oncopiedrevision,
286 284 )
@@ -319,9 +317,9 b' def _clonerevlogs('
319 317 tr,
320 318 oldrl,
321 319 unencoded,
322 deltareuse,
323 forcedeltabothparents,
324 revlogs,
320 upgrade_op.delta_reuse_mode,
321 upgrade_op.has_upgrade_action(b're-delta-multibase'),
322 upgrade_op.revlogs_to_process,
325 323 sidedatacompanion,
326 324 oncopiedrevision,
327 325 )
@@ -359,9 +357,9 b' def _clonerevlogs('
359 357 tr,
360 358 oldrl,
361 359 unencoded,
362 deltareuse,
363 forcedeltabothparents,
364 revlogs,
360 upgrade_op.delta_reuse_mode,
361 upgrade_op.has_upgrade_action(b're-delta-multibase'),
362 upgrade_op.revlogs_to_process,
365 363 sidedatacompanion,
366 364 oncopiedrevision,
367 365 )
@@ -452,9 +450,7 b' def upgrade(ui, srcrepo, dstrepo, upgrad'
452 450 srcrepo,
453 451 dstrepo,
454 452 tr,
455 upgrade_op.delta_reuse_mode,
456 upgrade_op.has_upgrade_action(b're-delta-multibase'),
457 revlogs=upgrade_op.revlogs_to_process,
453 upgrade_op,
458 454 )
459 455
460 456 # Now copy other files in the store directory.
General Comments 0
You need to be logged in to leave comments. Login now