upgrade: test that fncache is valid after repository upgrade
authorBoris Feld <boris.feld@octobus.net>
Fri, 13 Jul 2018 02:54:52 +0200
changeset 40836 5887973febc7
parent 40835 a444b7eb4633
child 40837 64051af15596
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	Wed Dec 05 12:25:41 2018 -0500
+++ b/tests/test-upgrade-repo.t	Fri Jul 13 02:54:52 2018 +0200
@@ -497,6 +497,11 @@
   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