# HG changeset patch # User Pulkit Goyal <7895pulkit@gmail.com> # Date 1607942701 -19800 # Node ID e2139e071b5c192b27e4f1086cf3c6e7fab297c8 # Parent 9540945e51fd76892057d33a8d6a73935cc391fc upgrade: add a missing space in status message Found while reading the code to refactor. Differential Revision: https://phab.mercurial-scm.org/D9583 diff -r 9540945e51fd -r e2139e071b5c mercurial/upgrade.py --- a/mercurial/upgrade.py Wed Dec 30 14:56:34 2020 +0530 +++ b/mercurial/upgrade.py Mon Dec 14 16:15:01 2020 +0530 @@ -225,7 +225,7 @@ ) if not (backup or backuppath is None): ui.status( - _(b'removing old repository content%s\n') % backuppath + _(b'removing old repository content %s\n') % backuppath ) repo.vfs.rmtree(backuppath, forcibly=True) backuppath = None diff -r 9540945e51fd -r e2139e071b5c tests/test-upgrade-repo.t --- a/tests/test-upgrade-repo.t Wed Dec 30 14:56:34 2020 +0530 +++ b/tests/test-upgrade-repo.t Mon Dec 14 16:15:01 2020 +0530 @@ -659,7 +659,7 @@ replacing store... store replacement complete; repository was inconsistent for * (glob) finalizing requirements file and making repository readable again - removing old repository content$TESTTMP/upgradegd/.hg/upgradebackup.* (glob) + removing old repository content $TESTTMP/upgradegd/.hg/upgradebackup.* (glob) removing temporary repository $TESTTMP/upgradegd/.hg/upgrade.* (glob) $ ls -1 .hg/ | grep upgradebackup [1] @@ -706,7 +706,7 @@ replacing store... store replacement complete; repository was inconsistent for *s (glob) finalizing requirements file and making repository readable again - removing old repository content$TESTTMP/upgradegd/.hg/upgradebackup.* (glob) + removing old repository content $TESTTMP/upgradegd/.hg/upgradebackup.* (glob) removing temporary repository $TESTTMP/upgradegd/.hg/upgrade.* (glob) Check that the repo still works fine @@ -786,7 +786,7 @@ replacing store... store replacement complete; repository was inconsistent for *s (glob) finalizing requirements file and making repository readable again - removing old repository content$TESTTMP/upgradegd/.hg/upgradebackup.* (glob) + removing old repository content $TESTTMP/upgradegd/.hg/upgradebackup.* (glob) removing temporary repository $TESTTMP/upgradegd/.hg/upgrade.* (glob) $ hg verify checking changesets @@ -837,7 +837,7 @@ replacing store... store replacement complete; repository was inconsistent for *s (glob) finalizing requirements file and making repository readable again - removing old repository content$TESTTMP/upgradegd/.hg/upgradebackup.* (glob) + removing old repository content $TESTTMP/upgradegd/.hg/upgradebackup.* (glob) removing temporary repository $TESTTMP/upgradegd/.hg/upgrade.* (glob) $ hg verify checking changesets @@ -888,7 +888,7 @@ replacing store... store replacement complete; repository was inconsistent for *s (glob) finalizing requirements file and making repository readable again - removing old repository content$TESTTMP/upgradegd/.hg/upgradebackup.* (glob) + removing old repository content $TESTTMP/upgradegd/.hg/upgradebackup.* (glob) removing temporary repository $TESTTMP/upgradegd/.hg/upgrade.* (glob) $ hg verify checking changesets @@ -946,7 +946,7 @@ replacing store... store replacement complete; repository was inconsistent for *s (glob) finalizing requirements file and making repository readable again - removing old repository content$TESTTMP/upgradegd/.hg/upgradebackup.* (glob) + removing old repository content $TESTTMP/upgradegd/.hg/upgradebackup.* (glob) removing temporary repository $TESTTMP/upgradegd/.hg/upgrade.* (glob) $ hg verify checking changesets @@ -1005,7 +1005,7 @@ replacing store... store replacement complete; repository was inconsistent for *s (glob) finalizing requirements file and making repository readable again - removing old repository content$TESTTMP/upgradegd/.hg/upgradebackup.* (glob) + removing old repository content $TESTTMP/upgradegd/.hg/upgradebackup.* (glob) removing temporary repository $TESTTMP/upgradegd/.hg/upgrade.* (glob) $ hg verify checking changesets