Mercurial > hg-stable
diff tests/test-persistent-nodemap.t @ 47888:c094e829e848 stable
changelog: also monitor `00changelog.n` when applicable (issue6554)
This let the locarepo's file cache detect outdated nodemap docket and reload the
changelog after `localrepo.invalidate` when applicable.
Differential Revision: https://phab.mercurial-scm.org/D11482
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Tue, 21 Sep 2021 18:03:37 +0200 |
parents | 52018f8ef020 |
children | aa88fb60ecb4 |
line wrap: on
line diff
--- a/tests/test-persistent-nodemap.t Tue Sep 21 21:18:50 2021 +0200 +++ b/tests/test-persistent-nodemap.t Tue Sep 21 18:03:37 2021 +0200 @@ -748,19 +748,19 @@ docket-details: uid: 43c37dde actual-tip: 5006 - tip-rev: 5005 - data-length: 121088 + tip-rev: 5006 + data-length: 121280 right ready to write, waiting for reader right proceeding with writing its changelog index and nodemap finalized changelog write persisting changelog nodemap - new data start at 121088 + new data start at 121280 persisted changelog nodemap docket-details: uid: 43c37dde actual-tip: 5007 tip-rev: 5007 - data-length: 121472 + data-length: 121536 $ sh "$RUNTESTDIR"/testlib/wait-on-file 10 sync-files/reader-done $ cat outputs/reader.txt reader: reading changelog @@ -768,7 +768,7 @@ reader: nodemap docket read record-data-length: 121280 actual-data-length: 121280 - file-actual-length: 121472 + file-actual-length: 121536 reader: changelog read docket-details: uid: 43c37dde @@ -778,8 +778,6 @@ tip-rev: 5006 tip-node: 492901161367 node-rev: 5006 - error while checking revision: 18 (known-bad-output !) - Inconsistency: Revision 5007 found in nodemap is not in revlog indexi (known-bad-output !) $ hg -R ./race-repo log -G -r 'head()' o changeset: 5007:ac4a2abde241