Show More
@@ -468,6 +468,13 b' def upgrade(ui, srcrepo, dstrepo, upgrad' | |||
|
468 | 468 | unfi = srcrepo.unfiltered() |
|
469 | 469 | cl = unfi.changelog |
|
470 | 470 | nodemap.persist_nodemap(tr, cl, force=True) |
|
471 | # we want to directly operate on the underlying revlog to force | |
|
472 | # create a nodemap file. This is fine since this is upgrade code | |
|
473 | # and it heavily relies on repository being revlog based | |
|
474 | # hence accessing private attributes can be justified | |
|
475 | nodemap.persist_nodemap( | |
|
476 | tr, unfi.manifestlog._rootstore._revlog, force=True | |
|
477 | ) | |
|
471 | 478 | scmutil.writereporequirements(srcrepo, upgrade_op.new_requirements) |
|
472 | 479 | else: |
|
473 | 480 | with dstrepo.transaction(b'upgrade') as tr: |
General Comments 0
You need to be logged in to leave comments.
Login now