Mercurial > hg
comparison tests/test-persistent-nodemap.t @ 50481:b08243dbc2e3
store: also gather files per revlog in `topfiles`
This conclude out revlog gathering.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Mon, 15 May 2023 08:59:06 +0200 |
parents | 63dc24be635d |
children | 4fe46f96b56b |
comparison
equal
deleted
inserted
replaced
50480:d4f54aded22e | 50481:b08243dbc2e3 |
---|---|
1016 No race condition | 1016 No race condition |
1017 | 1017 |
1018 $ hg clone -U --stream ssh://user@dummy/test-repo stream-clone --debug | egrep '00(changelog|manifest)' | 1018 $ hg clone -U --stream ssh://user@dummy/test-repo stream-clone --debug | egrep '00(changelog|manifest)' |
1019 adding [s] 00manifest.n (62 bytes) | 1019 adding [s] 00manifest.n (62 bytes) |
1020 adding [s] 00manifest-*.nd (118 KB) (glob) | 1020 adding [s] 00manifest-*.nd (118 KB) (glob) |
1021 adding [s] 00manifest.d (491 KB) (zstd no-bigendian !) | |
1022 adding [s] 00manifest.d (452 KB) (no-zstd !) | |
1023 adding [s] 00manifest.d (492 KB) (zstd bigendian !) | |
1024 adding [s] 00manifest.i (313 KB) | |
1021 adding [s] 00changelog.n (62 bytes) | 1025 adding [s] 00changelog.n (62 bytes) |
1022 adding [s] 00changelog-*.nd (118 KB) (glob) | 1026 adding [s] 00changelog-*.nd (118 KB) (glob) |
1023 adding [s] 00manifest.d (452 KB) (no-zstd !) | |
1024 adding [s] 00manifest.d (491 KB) (zstd no-bigendian !) | |
1025 adding [s] 00manifest.d (492 KB) (zstd bigendian !) | |
1026 adding [s] 00changelog.d (360 KB) (no-zstd !) | 1027 adding [s] 00changelog.d (360 KB) (no-zstd !) |
1027 adding [s] 00changelog.d (368 KB) (zstd !) | 1028 adding [s] 00changelog.d (368 KB) (zstd !) |
1028 adding [s] 00manifest.i (313 KB) | |
1029 adding [s] 00changelog.i (313 KB) | 1029 adding [s] 00changelog.i (313 KB) |
1030 $ ls -1 stream-clone/.hg/store/ | egrep '00(changelog|manifest)(\.n|-.*\.nd)' | 1030 $ ls -1 stream-clone/.hg/store/ | egrep '00(changelog|manifest)(\.n|-.*\.nd)' |
1031 00changelog-*.nd (glob) | 1031 00changelog-*.nd (glob) |
1032 00changelog.n | 1032 00changelog.n |
1033 00manifest-*.nd (glob) | 1033 00manifest-*.nd (glob) |
1088 $ touch $HG_TEST_STREAM_WALKED_FILE_2 | 1088 $ touch $HG_TEST_STREAM_WALKED_FILE_2 |
1089 $ $RUNTESTDIR/testlib/wait-on-file 10 $HG_TEST_STREAM_WALKED_FILE_3 | 1089 $ $RUNTESTDIR/testlib/wait-on-file 10 $HG_TEST_STREAM_WALKED_FILE_3 |
1090 $ cat clone-output | 1090 $ cat clone-output |
1091 adding [s] 00manifest.n (62 bytes) | 1091 adding [s] 00manifest.n (62 bytes) |
1092 adding [s] 00manifest-*.nd (118 KB) (glob) | 1092 adding [s] 00manifest-*.nd (118 KB) (glob) |
1093 adding [s] 00manifest.d (491 KB) (zstd no-bigendian !) | |
1094 adding [s] 00manifest.d (452 KB) (no-zstd !) | |
1095 adding [s] 00manifest.d (492 KB) (zstd bigendian !) | |
1096 adding [s] 00manifest.i (313 KB) | |
1093 adding [s] 00changelog.n (62 bytes) | 1097 adding [s] 00changelog.n (62 bytes) |
1094 adding [s] 00changelog-*.nd (118 KB) (glob) | 1098 adding [s] 00changelog-*.nd (118 KB) (glob) |
1095 adding [s] 00manifest.d (452 KB) (no-zstd !) | 1099 adding [s] 00changelog.d (368 KB) (zstd !) |
1096 adding [s] 00manifest.d (491 KB) (zstd no-bigendian !) | |
1097 adding [s] 00manifest.d (492 KB) (zstd bigendian !) | |
1098 adding [s] 00changelog.d (360 KB) (no-zstd !) | 1100 adding [s] 00changelog.d (360 KB) (no-zstd !) |
1099 adding [s] 00changelog.d (368 KB) (zstd !) | |
1100 adding [s] 00manifest.i (313 KB) | |
1101 adding [s] 00changelog.i (313 KB) | 1101 adding [s] 00changelog.i (313 KB) |
1102 | 1102 |
1103 Check the result state | 1103 Check the result state |
1104 | 1104 |
1105 $ f --size stream-clone-race-1/.hg/store/00changelog* | 1105 $ f --size stream-clone-race-1/.hg/store/00changelog* |
1193 (note: the stream clone code wronly pick the `undo.` files) | 1193 (note: the stream clone code wronly pick the `undo.` files) |
1194 | 1194 |
1195 $ cat clone-output-2 | 1195 $ cat clone-output-2 |
1196 adding [s] 00manifest.n (62 bytes) | 1196 adding [s] 00manifest.n (62 bytes) |
1197 adding [s] 00manifest-*.nd (118 KB) (glob) | 1197 adding [s] 00manifest-*.nd (118 KB) (glob) |
1198 adding [s] 00manifest.d (492 KB) (zstd !) | |
1199 adding [s] 00manifest.d (452 KB) (no-zstd !) | |
1200 adding [s] 00manifest.i (313 KB) | |
1198 adding [s] 00changelog.n (62 bytes) | 1201 adding [s] 00changelog.n (62 bytes) |
1199 adding [s] 00changelog-*.nd (118 KB) (glob) | 1202 adding [s] 00changelog-*.nd (118 KB) (glob) |
1200 adding [s] 00manifest.d (492 KB) (zstd !) | |
1201 adding [s] 00manifest.d (452 KB) (no-zstd !) | |
1202 adding [s] 00changelog.d (360 KB) (no-zstd !) | 1203 adding [s] 00changelog.d (360 KB) (no-zstd !) |
1203 adding [s] 00changelog.d (368 KB) (zstd !) | 1204 adding [s] 00changelog.d (368 KB) (zstd !) |
1204 adding [s] 00manifest.i (313 KB) | |
1205 adding [s] 00changelog.i (313 KB) | 1205 adding [s] 00changelog.i (313 KB) |
1206 | 1206 |
1207 Check the result. | 1207 Check the result. |
1208 | 1208 |
1209 $ f --size stream-clone-race-2/.hg/store/00changelog* | 1209 $ f --size stream-clone-race-2/.hg/store/00changelog* |