comparison tests/test-manifest.t @ 41963:6386f9a421d2

manifestcache: clear the cache before testing the debug command Right now the cache is empty before this section of the test. However, we are about to improve the persistence of the cache (putting it under `wllock`, intead of `lock`). So we install the cleanup before.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 14 Mar 2019 09:12:55 +0000
parents 7d417ab1eda9
children d121823072b8
comparison
equal deleted inserted replaced
41962:07c80298b5a1 41963:6386f9a421d2
106 Showing the content of the caches after the above operations 106 Showing the content of the caches after the above operations
107 107
108 $ hg debugmanifestfulltextcache 108 $ hg debugmanifestfulltextcache
109 cache empty 109 cache empty
110 110
111 (Clearing the cache in case of any content)
112
113 $ hg debugmanifestfulltextcache --clear
114
111 Adding a new persistent entry in the cache 115 Adding a new persistent entry in the cache
112 116
113 $ hg debugmanifestfulltextcache --add 1e01206b1d2f72bd55f2a33fa8ccad74144825b7 117 $ hg debugmanifestfulltextcache --add 1e01206b1d2f72bd55f2a33fa8ccad74144825b7
114 118
115 $ hg debugmanifestfulltextcache 119 $ hg debugmanifestfulltextcache