# HG changeset patch # User Pierre-Yves David # Date 2019-03-14 09:12:27 # Node ID 7436653d8542592c06ea5b3ca470f629179c51f4 # Parent 99eb9f269a5a390aed2f3aaa7a999e863db76581 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