Mercurial > hg
comparison tests/test-clone-uncompressed.t @ 39301:5763216ba311
transaction: remember original len(repo) instead of tracking added revs (API)
It's silly to keep updating xrange(len(changelog), len(changelog) + 1) for
each added revision. Instead, let's simply remember the first revision to
be added.
The test output slightly changed as the branch cache is also warmed up by
stream clone, which seems more consistent.
.. api::
``tr.changes['revs']`` is replaced by ``tr.changes['origrepolen']`` which
is the first revision number to be added.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 25 Aug 2018 15:28:48 +0900 |
parents | 538e850ae737 |
children | 1b5880352314 |
comparison
equal
deleted
inserted
replaced
39300:52e6171ec822 | 39301:5763216ba311 |
---|---|
245 sending branchmap command | 245 sending branchmap command |
246 streaming all changes | 246 streaming all changes |
247 sending stream_out command | 247 sending stream_out command |
248 1027 files to transfer, 96.3 KB of data | 248 1027 files to transfer, 96.3 KB of data |
249 starting 4 threads for background file closing | 249 starting 4 threads for background file closing |
250 updating the branch cache | |
250 transferred 96.3 KB in * seconds (*/sec) (glob) | 251 transferred 96.3 KB in * seconds (*/sec) (glob) |
251 query 1; heads | 252 query 1; heads |
252 sending batch command | 253 sending batch command |
253 searching for changes | 254 searching for changes |
254 all remote heads known locally | 255 all remote heads known locally |
273 bundle2-input-part: "stream2" (params: 3 mandatory) supported | 274 bundle2-input-part: "stream2" (params: 3 mandatory) supported |
274 applying stream bundle | 275 applying stream bundle |
275 1030 files to transfer, 96.4 KB of data | 276 1030 files to transfer, 96.4 KB of data |
276 starting 4 threads for background file closing | 277 starting 4 threads for background file closing |
277 starting 4 threads for background file closing | 278 starting 4 threads for background file closing |
279 updating the branch cache | |
278 transferred 96.4 KB in * seconds (* */sec) (glob) | 280 transferred 96.4 KB in * seconds (* */sec) (glob) |
279 bundle2-input-part: total payload size 112077 | 281 bundle2-input-part: total payload size 112077 |
280 bundle2-input-part: "listkeys" (params: 1 mandatory) supported | 282 bundle2-input-part: "listkeys" (params: 1 mandatory) supported |
281 bundle2-input-bundle: 1 parts total | 283 bundle2-input-bundle: 1 parts total |
282 checking for updated bookmarks | 284 checking for updated bookmarks |