[PATCH 1 of 3] upgrade: test that fncache is valid after repository upgrade

Boris Feld boris.feld at octobus.net
Sun Dec 2 15:56:44 UTC 2018


# HG changeset patch
# User Boris Feld <boris.feld at octobus.net>
# Date 1531443292 -7200
#      Fri Jul 13 02:54:52 2018 +0200
# Node ID 8ca558d1dc064bef67b6fb4341feecddceb216ce
# Parent  7e6834ade51d98da575cfbeef651fc8a465c38b8
# EXP-Topic upgrade-test
# Available At https://bitbucket.org/octobus/mercurial-devel/
#              hg pull https://bitbucket.org/octobus/mercurial-devel/ -r 8ca558d1dc06
upgrade: test that fncache is valid after repository upgrade

The behavior was correct. Now it is correct and tested.

diff --git a/tests/test-upgrade-repo.t b/tests/test-upgrade-repo.t
--- a/tests/test-upgrade-repo.t
+++ b/tests/test-upgrade-repo.t
@@ -497,6 +497,11 @@ store files with special filenames aren'
   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


More information about the Mercurial-devel mailing list