changeset 41968: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 07c80298b5a1
children d121823072b8
files tests/test-manifest.t
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-manifest.t	Fri Mar 15 12:17:30 2019 +0000
+++ b/tests/test-manifest.t	Thu Mar 14 09:12:55 2019 +0000
@@ -108,6 +108,10 @@
   $ hg debugmanifestfulltextcache
   cache empty
 
+(Clearing the cache in case of any content)
+
+  $ hg debugmanifestfulltextcache --clear
+
 Adding a new persistent entry in the cache
 
   $ hg debugmanifestfulltextcache --add 1e01206b1d2f72bd55f2a33fa8ccad74144825b7