##// END OF EJS Templates
repair: use rawvfs when copying extra store files...
Gregory Szorc -
r31799:8110d49e stable
parent child Browse files
Show More
@@ -875,8 +875,8 b' def _upgraderepo(ui, srcrepo, dstrepo, r'
875 875 continue
876 876
877 877 srcrepo.ui.write(_('copying %s\n') % p)
878 src = srcrepo.store.vfs.join(p)
879 dst = dstrepo.store.vfs.join(p)
878 src = srcrepo.store.rawvfs.join(p)
879 dst = dstrepo.store.rawvfs.join(p)
880 880 util.copyfile(src, dst, copystat=True)
881 881
882 882 _upgradefinishdatamigration(ui, srcrepo, dstrepo, requirements)
@@ -339,8 +339,16 b" store files with special filenames aren'"
339 339 finished migrating 1 changelog revisions; change in size: 0 bytes
340 340 finished migrating 3 total revisions; total change in store size: 0 bytes
341 341 copying .XX_special_filename
342 copying phaseroots
343 data fully migrated to temporary repository
344 marking source repository as being upgraded; clients will be unable to read from repository
345 starting in-place swap of repository data
346 replaced files will be backed up at $TESTTMP/store-filenames/.hg/upgradebackup.* (glob)
347 replacing store...
348 store replacement complete; repository was inconsistent for *s (glob)
349 finalizing requirements file and making repository readable again
342 350 removing temporary repository $TESTTMP/store-filenames/.hg/upgrade.* (glob)
343 abort: No such file or directory: $TESTTMP/store-filenames/.hg/store/~2e_x_x__special__filename
344 [255]
351 copy of old repository backed up at $TESTTMP/store-filenames/.hg/upgradebackup.* (glob)
352 the old repository will not be deleted; remove it to free up disk space once the upgraded repository is verified
345 353
346 354 $ cd ..
General Comments 0
You need to be logged in to leave comments. Login now