comparison tests/test-manifest.t @ 41945:7436653d8542

manifestcache: adding a second distinct entry Let makes sure the cache can hold multiple value.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 14 Mar 2019 09:12:27 +0000
parents 99eb9f269a5a
children 5b77847bdf09
comparison
equal deleted inserted replaced
41944:99eb9f269a5a 41945:7436653d8542
122 $ hg debugmanifestfulltextcache --add 1e01206b1d2f72bd55f2a33fa8ccad74144825b7 122 $ hg debugmanifestfulltextcache --add 1e01206b1d2f72bd55f2a33fa8ccad74144825b7
123 $ hg debugmanifestfulltextcache 123 $ hg debugmanifestfulltextcache
124 cache contains 1 manifest entries, in order of most to least recent: 124 cache contains 1 manifest entries, in order of most to least recent:
125 id: 1e01206b1d2f72bd55f2a33fa8ccad74144825b7, size 133 bytes 125 id: 1e01206b1d2f72bd55f2a33fa8ccad74144825b7, size 133 bytes
126 total cache data size 157 bytes, on-disk 157 bytes 126 total cache data size 157 bytes, on-disk 157 bytes
127
128 Adding a second entry
129
130 $ hg debugmanifestfulltextcache --add fce2a30dedad1eef4da95ca1dc0004157aa527cf
131 $ hg debugmanifestfulltextcache
132 cache contains 2 manifest entries, in order of most to least recent:
133 id: fce2a30dedad1eef4da95ca1dc0004157aa527cf, size 87 bytes
134 id: 1e01206b1d2f72bd55f2a33fa8ccad74144825b7, size 133 bytes
135 total cache data size 268 bytes, on-disk 268 bytes