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

login
register
mail settings
Submitter Boris Feld
Date Dec. 2, 2018, 3:56 p.m.
Message ID <8ca558d1dc064bef67b6.1543766204@pc62.home>
Download mbox | patch
Permalink /patch/36900/
State Accepted
Headers show

Comments

Boris Feld - Dec. 2, 2018, 3:56 p.m.
# HG changeset patch
# User Boris Feld <boris.feld@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.
Yuya Nishihara - Dec. 6, 2018, 11:14 a.m.
On Sun, 02 Dec 2018 16:56:44 +0100, Boris Feld wrote:
> # HG changeset patch
> # User Boris Feld <boris.feld@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

Queued 1 and 3, thanks.

Patch

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