comparison mercurial/subrepo.py @ 46220:1ca7865c245d

engine: refactor code to replace stores in separate function In not all upgrades, we need to change the whole store. For example, when upgrading repository to share-safe mode, we don't touch revlogs at all hence store cloning and copying is not required. The store replacing code needs to be made aware about what all has changed and hence only copy/rename those things. To kickstart that, this patch moves existing logic into a separate function. Differential Revision: https://phab.mercurial-scm.org/D9674
author Pulkit Goyal <7895pulkit@gmail.com>
date Thu, 31 Dec 2020 14:45:16 +0530
parents 59fa3890d40a
children d6601547f22b a4c19a162615
comparison
equal deleted inserted replaced
46219:481d9aed669c 46220:1ca7865c245d