upgrade: test that fncache is valid after repository upgrade
authorBoris Feld <boris.feld@octobus.net>
Fri, 13 Jul 2018 02:54:52 +0200
changeset 53601 5887973febc728e0c420b0fe65f8f5c36ff50755
parent 53600 a444b7eb4633dacedfa1412009fd5d4093f49628
child 53602 64051af155963de2a527d4013ad281dbd6ef8d15
push id1079
push usergszorc@mozilla.com
push dateMon, 10 Dec 2018 19:44:59 +0000
upgrade: test that fncache is valid after repository upgrade The behavior was correct. Now it is correct and tested.
tests/test-upgrade-repo.t
--- a/tests/test-upgrade-repo.t
+++ b/tests/test-upgrade-repo.t
@@ -492,16 +492,21 @@ store files with special filenames aren'
   replaced files will be backed up at $TESTTMP/store-filenames/.hg/upgradebackup.* (glob)
   replacing store...
   store replacement complete; repository was inconsistent for *s (glob)
   finalizing requirements file and making repository readable again
   removing temporary repository $TESTTMP/store-filenames/.hg/upgrade.* (glob)
   copy of old repository backed up at $TESTTMP/store-filenames/.hg/upgradebackup.* (glob)
   the old repository will not be deleted; remove it to free up disk space once the upgraded repository is verified
 
+fncache is valid after upgrade
+
+  $ hg debugrebuildfncache
+  fncache already up to date
+
   $ cd ..
 
 Check upgrading a large file repository
 ---------------------------------------
 
   $ hg init largefilesrepo
   $ cat << EOF >> largefilesrepo/.hg/hgrc
   > [extensions]