# HG changeset patch # User Pierre-Yves David # Date 2019-03-14 09:12:55 # Node ID 6386f9a421d26a6dfcdb8210ba242fdc74dec1b6 # Parent 07c80298b5a15783c39f9451f00625933c2d1ac9 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. diff --git a/tests/test-manifest.t b/tests/test-manifest.t --- a/tests/test-manifest.t +++ b/tests/test-manifest.t @@ -108,6 +108,10 @@ Showing the content of the caches after $ 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