Mercurial > hg
diff tests/test-upgrade-repo.t @ 30780:2603d04889e1
repair: copy non-revlog store files during upgrade
The store contains more than just revlogs. This patch teaches the
upgrade code to copy regular files as well.
As the test changes demonstrate, the phaseroots file is now copied.
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Thu, 24 Nov 2016 18:34:50 -0800 |
parents | 38aa1ca97b6a |
children | f2c069bf78ee |
line wrap: on
line diff
--- a/tests/test-upgrade-repo.t Sun Dec 18 17:00:15 2016 -0800 +++ b/tests/test-upgrade-repo.t Thu Nov 24 18:34:50 2016 -0800 @@ -241,6 +241,7 @@ migrating changelog containing 3 revisions (184 bytes in store; 181 bytes tracked data) finished migrating 3 changelog revisions; change in size: 0 bytes finished migrating 9 total revisions; total change in store size: 0 bytes + copying phaseroots data fully migrated to temporary repository marking source repository as being upgraded; clients will be unable to read from repository starting in-place swap of repository data @@ -276,6 +277,7 @@ 00manifest.i data fncache + phaseroots undo undo.backupfiles undo.phaseroots