Mercurial > hg
comparison tests/test-lfs-test-server.t @ 35926:264b90a060b7
cat: call the storage prefetch hook
It's not important to call in the case of a single file, but maybe it's better
to do so for consistency.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Sun, 04 Feb 2018 15:26:49 -0500 |
parents | 533f04d4cb6d |
children | 9b413478f261 |
comparison
equal
deleted
inserted
replaced
35925:533f04d4cb6d | 35926:264b90a060b7 |
---|---|
175 ../archive/a | 175 ../archive/a |
176 ../archive/b | 176 ../archive/b |
177 ../archive/c | 177 ../archive/c |
178 ../archive/d | 178 ../archive/d |
179 | 179 |
180 Cat will prefetch blobs in a group | |
181 | |
182 $ rm -rf .hg/store/lfs `hg config lfs.usercache` | |
183 $ hg cat -vr 1 a b c | |
184 lfs: need to transfer 3 objects (43 bytes) | |
185 lfs: downloading 31cf46fbc4ecd458a0943c5b4881f1f5a6dd36c53d6167d5b69ac45149b38e5b (12 bytes) | |
186 lfs: adding 31cf46fbc4ecd458a0943c5b4881f1f5a6dd36c53d6167d5b69ac45149b38e5b to the usercache | |
187 lfs: processed: 31cf46fbc4ecd458a0943c5b4881f1f5a6dd36c53d6167d5b69ac45149b38e5b | |
188 lfs: downloading 31cf46fbc4ecd458a0943c5b4881f1f5a6dd36c53d6167d5b69ac45149b38e5b (12 bytes) | |
189 lfs: processed: 31cf46fbc4ecd458a0943c5b4881f1f5a6dd36c53d6167d5b69ac45149b38e5b | |
190 lfs: downloading d11e1a642b60813aee592094109b406089b8dff4cb157157f753418ec7857998 (19 bytes) | |
191 lfs: adding d11e1a642b60813aee592094109b406089b8dff4cb157157f753418ec7857998 to the usercache | |
192 lfs: processed: d11e1a642b60813aee592094109b406089b8dff4cb157157f753418ec7857998 | |
193 lfs: found 31cf46fbc4ecd458a0943c5b4881f1f5a6dd36c53d6167d5b69ac45149b38e5b in the local lfs store | |
194 THIS-IS-LFS | |
195 lfs: found 31cf46fbc4ecd458a0943c5b4881f1f5a6dd36c53d6167d5b69ac45149b38e5b in the local lfs store | |
196 THIS-IS-LFS | |
197 lfs: found d11e1a642b60813aee592094109b406089b8dff4cb157157f753418ec7857998 in the local lfs store | |
198 ANOTHER-LARGE-FILE | |
199 | |
180 Revert will prefetch blobs in a group | 200 Revert will prefetch blobs in a group |
181 | 201 |
182 $ rm -rf .hg/store/lfs | 202 $ rm -rf .hg/store/lfs |
183 $ rm -rf `hg config lfs.usercache` | 203 $ rm -rf `hg config lfs.usercache` |
184 $ rm * | 204 $ rm * |