comparison tests/test-manifest.t @ 41947:b74ef67573e5

manifestcache: actually honor --clear Before this change, the --clear flag was not clearing the on disk cache. (We also remove the extra verbosity when using --clear. Same as what we did for --add)
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 14 Mar 2019 09:12:46 +0000
parents 5b77847bdf09
children 1fe278aa4ad5
comparison
equal deleted inserted replaced
41946:5b77847bdf09 41947:b74ef67573e5
140 $ hg debugmanifestfulltextcache 140 $ hg debugmanifestfulltextcache
141 cache contains 2 manifest entries, in order of most to least recent: 141 cache contains 2 manifest entries, in order of most to least recent:
142 id: 1e01206b1d2f72bd55f2a33fa8ccad74144825b7, size 133 bytes 142 id: 1e01206b1d2f72bd55f2a33fa8ccad74144825b7, size 133 bytes
143 id: fce2a30dedad1eef4da95ca1dc0004157aa527cf, size 87 bytes 143 id: fce2a30dedad1eef4da95ca1dc0004157aa527cf, size 87 bytes
144 total cache data size 268 bytes, on-disk 268 bytes 144 total cache data size 268 bytes, on-disk 268 bytes
145
146 Check cache clearing
147
148 $ hg debugmanifestfulltextcache --clear
149 $ hg debugmanifestfulltextcache
150 cache empty