Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/upgrade_utils/engine.py @ 46222:e22aed089567
upgrade: migrated -> upgraded in ui messages
Differential Revision: https://phab.mercurial-scm.org/D9676
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Thu, 31 Dec 2020 19:42:10 +0530 |
parents | 1ca7865c245d |
children | 52abb1af2995 |
comparison
equal
deleted
inserted
replaced
46221:0ca98ed828f9 | 46222:e22aed089567 |
---|---|
477 dst = dstrepo.store.rawvfs.join(p) | 477 dst = dstrepo.store.rawvfs.join(p) |
478 util.copyfile(src, dst, copystat=True) | 478 util.copyfile(src, dst, copystat=True) |
479 | 479 |
480 finishdatamigration(ui, srcrepo, dstrepo, requirements) | 480 finishdatamigration(ui, srcrepo, dstrepo, requirements) |
481 | 481 |
482 ui.status(_(b'data fully migrated to temporary repository\n')) | 482 ui.status(_(b'data fully upgraded in a temporary repository\n')) |
483 | 483 |
484 backuppath = pycompat.mkdtemp(prefix=b'upgradebackup.', dir=srcrepo.path) | 484 backuppath = pycompat.mkdtemp(prefix=b'upgradebackup.', dir=srcrepo.path) |
485 backupvfs = vfsmod.vfs(backuppath) | 485 backupvfs = vfsmod.vfs(backuppath) |
486 | 486 |
487 # Make a backup of requires file first, as it is the first to be modified. | 487 # Make a backup of requires file first, as it is the first to be modified. |