Show More
@@ -225,7 +225,7 b' def upgraderepo(' | |||||
225 | ) |
|
225 | ) | |
226 | if not (backup or backuppath is None): |
|
226 | if not (backup or backuppath is None): | |
227 | ui.status( |
|
227 | ui.status( | |
228 | _(b'removing old repository content%s\n') % backuppath |
|
228 | _(b'removing old repository content %s\n') % backuppath | |
229 | ) |
|
229 | ) | |
230 | repo.vfs.rmtree(backuppath, forcibly=True) |
|
230 | repo.vfs.rmtree(backuppath, forcibly=True) | |
231 | backuppath = None |
|
231 | backuppath = None |
@@ -659,7 +659,7 b' unless --no-backup is passed' | |||||
659 | replacing store... |
|
659 | replacing store... | |
660 | store replacement complete; repository was inconsistent for * (glob) |
|
660 | store replacement complete; repository was inconsistent for * (glob) | |
661 | finalizing requirements file and making repository readable again |
|
661 | finalizing requirements file and making repository readable again | |
662 | removing old repository content$TESTTMP/upgradegd/.hg/upgradebackup.* (glob) |
|
662 | removing old repository content $TESTTMP/upgradegd/.hg/upgradebackup.* (glob) | |
663 | removing temporary repository $TESTTMP/upgradegd/.hg/upgrade.* (glob) |
|
663 | removing temporary repository $TESTTMP/upgradegd/.hg/upgrade.* (glob) | |
664 | $ ls -1 .hg/ | grep upgradebackup |
|
664 | $ ls -1 .hg/ | grep upgradebackup | |
665 | [1] |
|
665 | [1] | |
@@ -706,7 +706,7 b' We can restrict optimization to some rev' | |||||
706 | replacing store... |
|
706 | replacing store... | |
707 | store replacement complete; repository was inconsistent for *s (glob) |
|
707 | store replacement complete; repository was inconsistent for *s (glob) | |
708 | finalizing requirements file and making repository readable again |
|
708 | finalizing requirements file and making repository readable again | |
709 | removing old repository content$TESTTMP/upgradegd/.hg/upgradebackup.* (glob) |
|
709 | removing old repository content $TESTTMP/upgradegd/.hg/upgradebackup.* (glob) | |
710 | removing temporary repository $TESTTMP/upgradegd/.hg/upgrade.* (glob) |
|
710 | removing temporary repository $TESTTMP/upgradegd/.hg/upgrade.* (glob) | |
711 |
|
711 | |||
712 | Check that the repo still works fine |
|
712 | Check that the repo still works fine | |
@@ -786,7 +786,7 b' Check we can select negatively' | |||||
786 | replacing store... |
|
786 | replacing store... | |
787 | store replacement complete; repository was inconsistent for *s (glob) |
|
787 | store replacement complete; repository was inconsistent for *s (glob) | |
788 | finalizing requirements file and making repository readable again |
|
788 | finalizing requirements file and making repository readable again | |
789 | removing old repository content$TESTTMP/upgradegd/.hg/upgradebackup.* (glob) |
|
789 | removing old repository content $TESTTMP/upgradegd/.hg/upgradebackup.* (glob) | |
790 | removing temporary repository $TESTTMP/upgradegd/.hg/upgrade.* (glob) |
|
790 | removing temporary repository $TESTTMP/upgradegd/.hg/upgrade.* (glob) | |
791 | $ hg verify |
|
791 | $ hg verify | |
792 | checking changesets |
|
792 | checking changesets | |
@@ -837,7 +837,7 b' Check that we can select changelog only' | |||||
837 | replacing store... |
|
837 | replacing store... | |
838 | store replacement complete; repository was inconsistent for *s (glob) |
|
838 | store replacement complete; repository was inconsistent for *s (glob) | |
839 | finalizing requirements file and making repository readable again |
|
839 | finalizing requirements file and making repository readable again | |
840 | removing old repository content$TESTTMP/upgradegd/.hg/upgradebackup.* (glob) |
|
840 | removing old repository content $TESTTMP/upgradegd/.hg/upgradebackup.* (glob) | |
841 | removing temporary repository $TESTTMP/upgradegd/.hg/upgrade.* (glob) |
|
841 | removing temporary repository $TESTTMP/upgradegd/.hg/upgrade.* (glob) | |
842 | $ hg verify |
|
842 | $ hg verify | |
843 | checking changesets |
|
843 | checking changesets | |
@@ -888,7 +888,7 b' Check that we can select filelog only' | |||||
888 | replacing store... |
|
888 | replacing store... | |
889 | store replacement complete; repository was inconsistent for *s (glob) |
|
889 | store replacement complete; repository was inconsistent for *s (glob) | |
890 | finalizing requirements file and making repository readable again |
|
890 | finalizing requirements file and making repository readable again | |
891 | removing old repository content$TESTTMP/upgradegd/.hg/upgradebackup.* (glob) |
|
891 | removing old repository content $TESTTMP/upgradegd/.hg/upgradebackup.* (glob) | |
892 | removing temporary repository $TESTTMP/upgradegd/.hg/upgrade.* (glob) |
|
892 | removing temporary repository $TESTTMP/upgradegd/.hg/upgrade.* (glob) | |
893 | $ hg verify |
|
893 | $ hg verify | |
894 | checking changesets |
|
894 | checking changesets | |
@@ -946,7 +946,7 b" Check you can't skip revlog clone during" | |||||
946 | replacing store... |
|
946 | replacing store... | |
947 | store replacement complete; repository was inconsistent for *s (glob) |
|
947 | store replacement complete; repository was inconsistent for *s (glob) | |
948 | finalizing requirements file and making repository readable again |
|
948 | finalizing requirements file and making repository readable again | |
949 | removing old repository content$TESTTMP/upgradegd/.hg/upgradebackup.* (glob) |
|
949 | removing old repository content $TESTTMP/upgradegd/.hg/upgradebackup.* (glob) | |
950 | removing temporary repository $TESTTMP/upgradegd/.hg/upgrade.* (glob) |
|
950 | removing temporary repository $TESTTMP/upgradegd/.hg/upgrade.* (glob) | |
951 | $ hg verify |
|
951 | $ hg verify | |
952 | checking changesets |
|
952 | checking changesets | |
@@ -1005,7 +1005,7 b" Check you can't skip revlog clone during" | |||||
1005 | replacing store... |
|
1005 | replacing store... | |
1006 | store replacement complete; repository was inconsistent for *s (glob) |
|
1006 | store replacement complete; repository was inconsistent for *s (glob) | |
1007 | finalizing requirements file and making repository readable again |
|
1007 | finalizing requirements file and making repository readable again | |
1008 | removing old repository content$TESTTMP/upgradegd/.hg/upgradebackup.* (glob) |
|
1008 | removing old repository content $TESTTMP/upgradegd/.hg/upgradebackup.* (glob) | |
1009 | removing temporary repository $TESTTMP/upgradegd/.hg/upgrade.* (glob) |
|
1009 | removing temporary repository $TESTTMP/upgradegd/.hg/upgrade.* (glob) | |
1010 | $ hg verify |
|
1010 | $ hg verify | |
1011 | checking changesets |
|
1011 | checking changesets |
General Comments 0
You need to be logged in to leave comments.
Login now