[PATCH 6 of 8 "] manifestcache: adding a second distinct entry

Pierre-Yves David pierre-yves.david at ens-lyon.org
Fri Mar 15 07:43:28 EDT 2019


# HG changeset patch
# User Pierre-Yves David <pierre-yves.david at octobus.net>
# Date 1552554747 0
#      Thu Mar 14 09:12:27 2019 +0000
# Node ID 87c06c6f7e62897a14bd4e2291d0ff805f689848
# Parent  9ff234990740cd884689f1252dc6e7ec487b4c10
# EXP-Topic manifestcache
# Available At https://bitbucket.org/octobus/mercurial-devel/
#              hg pull https://bitbucket.org/octobus/mercurial-devel/ -r 87c06c6f7e62
manifestcache: adding a second distinct entry

Let makes sure the cache can hold multiple value.

diff --git a/tests/test-manifest.t b/tests/test-manifest.t
--- a/tests/test-manifest.t
+++ b/tests/test-manifest.t
@@ -124,3 +124,12 @@ Check we don't duplicated entry (added f
   cache contains 1 manifest entries, in order of most to least recent:
   id: 1e01206b1d2f72bd55f2a33fa8ccad74144825b7, size 133 bytes
   total cache data size 157 bytes, on-disk 157 bytes
+
+Adding a second entry
+
+  $ hg debugmanifestfulltextcache --add fce2a30dedad1eef4da95ca1dc0004157aa527cf
+  $ hg debugmanifestfulltextcache
+  cache contains 2 manifest entries, in order of most to least recent:
+  id: fce2a30dedad1eef4da95ca1dc0004157aa527cf, size 87 bytes
+  id: 1e01206b1d2f72bd55f2a33fa8ccad74144825b7, size 133 bytes
+  total cache data size 268 bytes, on-disk 268 bytes


More information about the Mercurial-devel mailing list