Mercurial > hg
comparison tests/test-manifest.t @ 41944:99eb9f269a5a
manifestcache: test that adding the same entry twice do not duplicates it
Simple sanity check.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Thu, 14 Mar 2019 10:53:28 +0000 |
parents | 1e75311d78f7 |
children | 7436653d8542 |
comparison
equal
deleted
inserted
replaced
41943:1e75311d78f7 | 41944:99eb9f269a5a |
---|---|
114 | 114 |
115 $ hg debugmanifestfulltextcache | 115 $ hg debugmanifestfulltextcache |
116 cache contains 1 manifest entries, in order of most to least recent: | 116 cache contains 1 manifest entries, in order of most to least recent: |
117 id: 1e01206b1d2f72bd55f2a33fa8ccad74144825b7, size 133 bytes | 117 id: 1e01206b1d2f72bd55f2a33fa8ccad74144825b7, size 133 bytes |
118 total cache data size 157 bytes, on-disk 157 bytes | 118 total cache data size 157 bytes, on-disk 157 bytes |
119 | |
120 Check we don't duplicated entry (added from the debug command) | |
121 | |
122 $ hg debugmanifestfulltextcache --add 1e01206b1d2f72bd55f2a33fa8ccad74144825b7 | |
123 $ hg debugmanifestfulltextcache | |
124 cache contains 1 manifest entries, in order of most to least recent: | |
125 id: 1e01206b1d2f72bd55f2a33fa8ccad74144825b7, size 133 bytes | |
126 total cache data size 157 bytes, on-disk 157 bytes |