comparison tests/test-manifest.t @ 41958:1fe278aa4ad5

manifestcache: support multiple cache addition in one debug command run This is more practical.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Fri, 15 Mar 2019 13:52:56 +0000
parents b74ef67573e5
children 7d417ab1eda9
comparison
equal deleted inserted replaced
41957:131d0b7c3940 41958:1fe278aa4ad5
146 Check cache clearing 146 Check cache clearing
147 147
148 $ hg debugmanifestfulltextcache --clear 148 $ hg debugmanifestfulltextcache --clear
149 $ hg debugmanifestfulltextcache 149 $ hg debugmanifestfulltextcache
150 cache empty 150 cache empty
151
152 Check adding multiple entry in one go:
153
154 $ hg debugmanifestfulltextcache --add fce2a30dedad1eef4da95ca1dc0004157aa527cf --add 1e01206b1d2f72bd55f2a33fa8ccad74144825b7
155 $ hg debugmanifestfulltextcache
156 cache contains 2 manifest entries, in order of most to least recent:
157 id: 1e01206b1d2f72bd55f2a33fa8ccad74144825b7, size 133 bytes
158 id: fce2a30dedad1eef4da95ca1dc0004157aa527cf, size 87 bytes
159 total cache data size 268 bytes, on-disk 268 bytes
160 $ hg debugmanifestfulltextcache --clear