# HG changeset patch # User Pierre-Yves David # Date 1552554775 0 # 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 -r 07c80298b5a1 -r 6386f9a421d2 tests/test-manifest.t --- 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