Skip to content
Snippets Groups Projects
Commit 99eb9f26 authored by Pierre-Yves David's avatar Pierre-Yves David :octopus:
Browse files

manifestcache: test that adding the same entry twice do not duplicates it

Simple sanity check.
parent 1e75311d
No related branches found
No related tags found
No related merge requests found
......@@ -116,3 +116,11 @@
cache contains 1 manifest entries, in order of most to least recent:
id: 1e01206b1d2f72bd55f2a33fa8ccad74144825b7, size 133 bytes
total cache data size 157 bytes, on-disk 157 bytes
Check we don't duplicated entry (added from the debug command)
$ hg debugmanifestfulltextcache --add 1e01206b1d2f72bd55f2a33fa8ccad74144825b7
$ hg debugmanifestfulltextcache
cache contains 1 manifest entries, in order of most to least recent:
id: 1e01206b1d2f72bd55f2a33fa8ccad74144825b7, size 133 bytes
total cache data size 157 bytes, on-disk 157 bytes
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment