Mercurial > hg
changeset 31874:27ec6517e40e
upgrade: drop the prefix to the '_finishdatamigration' function
Now that we are in the 'upgrade' module we can simplify the name.
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Mon, 10 Apr 2017 18:06:22 +0200 |
parents | d6c2005484b6 |
children | b6d792a9bd11 |
files | mercurial/upgrade.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/upgrade.py Mon Apr 10 18:06:12 2017 +0200 +++ b/mercurial/upgrade.py Mon Apr 10 18:06:22 2017 +0200 @@ -487,7 +487,7 @@ return True -def _upgradefinishdatamigration(ui, srcrepo, dstrepo, requirements): +def _finishdatamigration(ui, srcrepo, dstrepo, requirements): """Hook point for extensions to perform additional actions during upgrade. This function is called after revlogs and store files have been copied but @@ -534,7 +534,7 @@ dst = dstrepo.store.vfs.join(p) util.copyfile(src, dst, copystat=True) - _upgradefinishdatamigration(ui, srcrepo, dstrepo, requirements) + _finishdatamigration(ui, srcrepo, dstrepo, requirements) ui.write(_('data fully migrated to temporary repository\n'))