annotate tests/test-pullbundle.t @ 6354:1c63f58cf880 mercurial-5.1

test-compat: merge mercurial-5.2 into mercurial-5.1
author Anton Shestakov <av6@dwimlabs.net>
date Fri, 09 Dec 2022 00:25:46 +0400
parents 71e2408b77d0 888bed8033f1
children af69ae146159 72f442ebf644
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4128
4e5ec9ae682e pullbundle: initial commit
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
1 $ . "$TESTDIR/testlib/pythonpath.sh"
4e5ec9ae682e pullbundle: initial commit
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
2
4e5ec9ae682e pullbundle: initial commit
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
3 $ cat << EOF >> $HGRCPATH
4e5ec9ae682e pullbundle: initial commit
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
4 > [extensions]
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
5 > # evolve is providing the stable range code
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
6 > evolve=
4128
4e5ec9ae682e pullbundle: initial commit
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
7 > pullbundle=
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
8 > [experimental]
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
9 > obshashrange.warm-cache=yes
4128
4e5ec9ae682e pullbundle: initial commit
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
10 > EOF
4e5ec9ae682e pullbundle: initial commit
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
11
4e5ec9ae682e pullbundle: initial commit
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
12 basic setup
4e5ec9ae682e pullbundle: initial commit
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
13
4e5ec9ae682e pullbundle: initial commit
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
14 $ hg init server
4e5ec9ae682e pullbundle: initial commit
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
15 $ hg -R server debugbuilddag '.+898:branchpoint+352:mergepoint+267<branchpoint+145/mergepoint+467'
4e5ec9ae682e pullbundle: initial commit
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
16 $ hg init client
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
17 $ hg init client2
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
18 $ hg init client3
4131
788798a9a159 pullbundle: add an extra test showing how cache are reusable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4130
diff changeset
19 $ hg init client4
4128
4e5ec9ae682e pullbundle: initial commit
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
20
4e5ec9ae682e pullbundle: initial commit
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
21 simple initial pull
4e5ec9ae682e pullbundle: initial commit
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
22 -------------------
4e5ec9ae682e pullbundle: initial commit
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
23
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
24 $ hg -R server log -G -T '{rev}:{node}\n' -r '0+1234+(::1234 and (merge() or branchpoint()))'
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
25 o 1234:f864bc82f6a2f2ecb49b83722e0895f9d657b0dd
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
26 :
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
27 o 898:1388f909cd2b0685efd4e2ce076d198bce20922c
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
28 :
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
29 o 0:1ea73414a91b0920940797d8fc6a11e447f8ea1e
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
30
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
31
4128
4e5ec9ae682e pullbundle: initial commit
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
32 $ hg -R client pull server -r 1234 --debug --config devel.bundle2.debug=yes | grep -v 'add changeset'
4e5ec9ae682e pullbundle: initial commit
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
33 pulling from server
4337
ac39cfb5bddd test: adapt output to minor behavior change
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4147
diff changeset
34 listing keys for "bookmarks"
4128
4e5ec9ae682e pullbundle: initial commit
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
35 query 1; heads
4133
1293625d274d pullbundle: add an output about the time spent slicing the set
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4131
diff changeset
36 pullbundle-cache: "missing" set sliced into 6 subranges in *.* seconds (glob)
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
37 1024 changesets found
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
38 128 changesets found
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
39 64 changesets found
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
40 16 changesets found
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
41 2 changesets found
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
42 1 changesets found
5891
b13cb2d500ae test-compat: back out changeset 5b804fec43be
Anton Shestakov <av6@dwimlabs.net>
parents: 5844
diff changeset
43 bundle2-output-bundle: "HG20", 8 parts total
4128
4e5ec9ae682e pullbundle: initial commit
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
44 bundle2-output: start emission of HG20 stream
4e5ec9ae682e pullbundle: initial commit
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
45 bundle2-output: bundle parameter:
4e5ec9ae682e pullbundle: initial commit
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
46 bundle2-output: start of parts
4e5ec9ae682e pullbundle: initial commit
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
47 bundle2-output: bundle part: "changegroup"
4e5ec9ae682e pullbundle: initial commit
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
48 bundle2-output-part: "changegroup" (params: 1 mandatory 1 advisory) streamed payload
4e5ec9ae682e pullbundle: initial commit
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
49 bundle2-output: part 0: "CHANGEGROUP"
4e5ec9ae682e pullbundle: initial commit
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
50 bundle2-output: header chunk size: 44
4e5ec9ae682e pullbundle: initial commit
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
51 bundle2-output: payload chunk size: 32768
4e5ec9ae682e pullbundle: initial commit
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
52 bundle2-output: payload chunk size: 32768
4e5ec9ae682e pullbundle: initial commit
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
53 bundle2-output: payload chunk size: 32768
4e5ec9ae682e pullbundle: initial commit
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
54 bundle2-output: payload chunk size: 32768
4e5ec9ae682e pullbundle: initial commit
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
55 bundle2-output: payload chunk size: 32768
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
56 bundle2-output: payload chunk size: 22368
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
57 bundle2-output: closing payload chunk
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
58 bundle2-output: bundle part: "changegroup"
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
59 bundle2-output-part: "changegroup" (params: 1 mandatory 1 advisory) streamed payload
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
60 bundle2-output: part 1: "CHANGEGROUP"
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
61 bundle2-output: header chunk size: 43
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
62 bundle2-output: payload chunk size: 23564
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
63 bundle2-output: closing payload chunk
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
64 bundle2-output: bundle part: "changegroup"
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
65 bundle2-output-part: "changegroup" (params: 1 mandatory 1 advisory) streamed payload
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
66 bundle2-output: part 2: "CHANGEGROUP"
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
67 bundle2-output: header chunk size: 42
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
68 bundle2-output: payload chunk size: 11788
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
69 bundle2-output: closing payload chunk
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
70 bundle2-output: bundle part: "changegroup"
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
71 bundle2-output-part: "changegroup" (params: 1 mandatory 1 advisory) streamed payload
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
72 bundle2-output: part 3: "CHANGEGROUP"
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
73 bundle2-output: header chunk size: 42
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
74 bundle2-output: payload chunk size: 2956
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
75 bundle2-output: closing payload chunk
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
76 bundle2-output: bundle part: "changegroup"
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
77 bundle2-output-part: "changegroup" (params: 1 mandatory 1 advisory) streamed payload
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
78 bundle2-output: part 4: "CHANGEGROUP"
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
79 bundle2-output: header chunk size: 41
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
80 bundle2-output: payload chunk size: 380
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
81 bundle2-output: closing payload chunk
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
82 bundle2-output: bundle part: "changegroup"
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
83 bundle2-output-part: "changegroup" (params: 1 mandatory 1 advisory) streamed payload
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
84 bundle2-output: part 5: "CHANGEGROUP"
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
85 bundle2-output: header chunk size: 41
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
86 bundle2-output: payload chunk size: 196
4128
4e5ec9ae682e pullbundle: initial commit
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
87 bundle2-output: closing payload chunk
4e5ec9ae682e pullbundle: initial commit
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
88 bundle2-output: bundle part: "phase-heads"
4e5ec9ae682e pullbundle: initial commit
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
89 bundle2-output-part: "phase-heads" 24 bytes payload
4337
ac39cfb5bddd test: adapt output to minor behavior change
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4147
diff changeset
90 bundle2-output: part 6: "PHASE-HEADS"
4128
4e5ec9ae682e pullbundle: initial commit
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
91 bundle2-output: header chunk size: 18
4e5ec9ae682e pullbundle: initial commit
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
92 bundle2-output: payload chunk size: 24
4e5ec9ae682e pullbundle: initial commit
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
93 bundle2-output: closing payload chunk
5891
b13cb2d500ae test-compat: back out changeset 5b804fec43be
Anton Shestakov <av6@dwimlabs.net>
parents: 5844
diff changeset
94 bundle2-output: bundle part: "cache:rev-branch-cache"
b13cb2d500ae test-compat: back out changeset 5b804fec43be
Anton Shestakov <av6@dwimlabs.net>
parents: 5844
diff changeset
95 bundle2-output-part: "cache:rev-branch-cache" (advisory) streamed payload
b13cb2d500ae test-compat: back out changeset 5b804fec43be
Anton Shestakov <av6@dwimlabs.net>
parents: 5844
diff changeset
96 bundle2-output: part 7: "cache:rev-branch-cache"
b13cb2d500ae test-compat: back out changeset 5b804fec43be
Anton Shestakov <av6@dwimlabs.net>
parents: 5844
diff changeset
97 bundle2-output: header chunk size: 29
b13cb2d500ae test-compat: back out changeset 5b804fec43be
Anton Shestakov <av6@dwimlabs.net>
parents: 5844
diff changeset
98 bundle2-output: payload chunk size: 24719
b13cb2d500ae test-compat: back out changeset 5b804fec43be
Anton Shestakov <av6@dwimlabs.net>
parents: 5844
diff changeset
99 bundle2-output: closing payload chunk
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
100 bundle2-output: end of bundle
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
101 bundle2-input: start processing of HG20 stream
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
102 bundle2-input: reading bundle2 stream parameters
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
103 bundle2-input-bundle: with-transaction
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
104 bundle2-input: start extraction of bundle2 parts
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
105 bundle2-input: part header size: 44
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
106 bundle2-input: part type: "CHANGEGROUP"
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
107 bundle2-input: part id: "0"
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
108 bundle2-input: part parameters: 2
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
109 bundle2-input: found a handler for part changegroup
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
110 bundle2-input-part: "changegroup" (params: 1 mandatory 1 advisory) supported
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
111 adding changesets
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
112 bundle2-input: payload chunk size: 32768
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
113 bundle2-input: payload chunk size: 32768
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
114 bundle2-input: payload chunk size: 32768
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
115 bundle2-input: payload chunk size: 32768
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
116 bundle2-input: payload chunk size: 32768
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
117 bundle2-input: payload chunk size: 22368
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
118 bundle2-input: payload chunk size: 0
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
119 adding manifests
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
120 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
121 added 1024 changesets with 0 changes to 0 files
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
122 bundle2-input-part: total payload size 186208
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
123 bundle2-input: part header size: 43
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
124 bundle2-input: part type: "CHANGEGROUP"
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
125 bundle2-input: part id: "1"
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
126 bundle2-input: part parameters: 2
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
127 bundle2-input: found a handler for part changegroup
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
128 bundle2-input-part: "changegroup" (params: 1 mandatory 1 advisory) supported
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
129 adding changesets
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
130 bundle2-input: payload chunk size: 23564
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
131 bundle2-input: payload chunk size: 0
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
132 adding manifests
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
133 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
134 added 128 changesets with 0 changes to 0 files
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
135 bundle2-input-part: total payload size 23564
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
136 bundle2-input: part header size: 42
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
137 bundle2-input: part type: "CHANGEGROUP"
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
138 bundle2-input: part id: "2"
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
139 bundle2-input: part parameters: 2
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
140 bundle2-input: found a handler for part changegroup
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
141 bundle2-input-part: "changegroup" (params: 1 mandatory 1 advisory) supported
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
142 adding changesets
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
143 bundle2-input: payload chunk size: 11788
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
144 bundle2-input: payload chunk size: 0
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
145 adding manifests
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
146 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
147 added 64 changesets with 0 changes to 0 files
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
148 bundle2-input-part: total payload size 11788
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
149 bundle2-input: part header size: 42
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
150 bundle2-input: part type: "CHANGEGROUP"
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
151 bundle2-input: part id: "3"
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
152 bundle2-input: part parameters: 2
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
153 bundle2-input: found a handler for part changegroup
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
154 bundle2-input-part: "changegroup" (params: 1 mandatory 1 advisory) supported
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
155 adding changesets
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
156 bundle2-input: payload chunk size: 2956
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
157 bundle2-input: payload chunk size: 0
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
158 adding manifests
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
159 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
160 added 16 changesets with 0 changes to 0 files
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
161 bundle2-input-part: total payload size 2956
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
162 bundle2-input: part header size: 41
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
163 bundle2-input: part type: "CHANGEGROUP"
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
164 bundle2-input: part id: "4"
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
165 bundle2-input: part parameters: 2
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
166 bundle2-input: found a handler for part changegroup
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
167 bundle2-input-part: "changegroup" (params: 1 mandatory 1 advisory) supported
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
168 adding changesets
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
169 bundle2-input: payload chunk size: 380
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
170 bundle2-input: payload chunk size: 0
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
171 adding manifests
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
172 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
173 added 2 changesets with 0 changes to 0 files
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
174 bundle2-input-part: total payload size 380
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
175 bundle2-input: part header size: 41
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
176 bundle2-input: part type: "CHANGEGROUP"
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
177 bundle2-input: part id: "5"
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
178 bundle2-input: part parameters: 2
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
179 bundle2-input: found a handler for part changegroup
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
180 bundle2-input-part: "changegroup" (params: 1 mandatory 1 advisory) supported
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
181 adding changesets
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
182 bundle2-input: payload chunk size: 196
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
183 bundle2-input: payload chunk size: 0
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
184 adding manifests
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
185 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
186 added 1 changesets with 0 changes to 0 files
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
187 bundle2-input-part: total payload size 196
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
188 bundle2-input: part header size: 18
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
189 bundle2-input: part type: "PHASE-HEADS"
4337
ac39cfb5bddd test: adapt output to minor behavior change
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4147
diff changeset
190 bundle2-input: part id: "6"
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
191 bundle2-input: part parameters: 0
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
192 bundle2-input: found a handler for part phase-heads
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
193 bundle2-input-part: "phase-heads" supported
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
194 bundle2-input: payload chunk size: 24
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
195 bundle2-input: payload chunk size: 0
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
196 bundle2-input-part: total payload size 24
5891
b13cb2d500ae test-compat: back out changeset 5b804fec43be
Anton Shestakov <av6@dwimlabs.net>
parents: 5844
diff changeset
197 bundle2-input: part header size: 29
b13cb2d500ae test-compat: back out changeset 5b804fec43be
Anton Shestakov <av6@dwimlabs.net>
parents: 5844
diff changeset
198 bundle2-input: part type: "cache:rev-branch-cache"
b13cb2d500ae test-compat: back out changeset 5b804fec43be
Anton Shestakov <av6@dwimlabs.net>
parents: 5844
diff changeset
199 bundle2-input: part id: "7"
b13cb2d500ae test-compat: back out changeset 5b804fec43be
Anton Shestakov <av6@dwimlabs.net>
parents: 5844
diff changeset
200 bundle2-input: part parameters: 0
b13cb2d500ae test-compat: back out changeset 5b804fec43be
Anton Shestakov <av6@dwimlabs.net>
parents: 5844
diff changeset
201 bundle2-input: found a handler for part cache:rev-branch-cache
b13cb2d500ae test-compat: back out changeset 5b804fec43be
Anton Shestakov <av6@dwimlabs.net>
parents: 5844
diff changeset
202 bundle2-input-part: "cache:rev-branch-cache" (advisory) supported
b13cb2d500ae test-compat: back out changeset 5b804fec43be
Anton Shestakov <av6@dwimlabs.net>
parents: 5844
diff changeset
203 bundle2-input: payload chunk size: 24719
b13cb2d500ae test-compat: back out changeset 5b804fec43be
Anton Shestakov <av6@dwimlabs.net>
parents: 5844
diff changeset
204 bundle2-input: payload chunk size: 0
b13cb2d500ae test-compat: back out changeset 5b804fec43be
Anton Shestakov <av6@dwimlabs.net>
parents: 5844
diff changeset
205 bundle2-input-part: total payload size 24719
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
206 bundle2-input: part header size: 0
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
207 bundle2-input: end of bundle2 stream
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
208 bundle2-input-bundle: 7 parts total
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
209 checking for updated bookmarks
6348
71e2408b77d0 test-compat: merge mercurial-5.8 into mercurial-5.7
Anton Shestakov <av6@dwimlabs.net>
parents: 5891
diff changeset
210 stable-range cache: unable to load, regenerating
71e2408b77d0 test-compat: merge mercurial-5.8 into mercurial-5.7
Anton Shestakov <av6@dwimlabs.net>
parents: 5891
diff changeset
211 obshashrange cache: unable to load, regenerating
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
212 updating the branch cache
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
213 new changesets 1ea73414a91b:f864bc82f6a2
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
214 (run 'hg update' to get a working copy)
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
215
4130
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
216 $ touch oldbundles
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
217 $ ls -1 server/.hg/cache/pullbundles > newbundles
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
218 $ diff -u oldbundles newbundles
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
219 --- oldbundles * (glob)
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
220 +++ newbundles * (glob)
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
221 @@ -0,0 +1,6 @@
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
222 +02-467b6e370e816747e27de0d0b9237f4090a33656-0000001152skip-0000000064size.hg
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
223 +02-540f762640ee62ca597ece26af725e6357e82805-0000000000skip-0000001024size.hg
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
224 +02-63ded94ceab180ac2fa13e1f0beeb4d2265998a3-0000001232skip-0000000002size.hg
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
225 +02-7f3a79522d6e904d52aea07c71e6cb612667e8f4-0000001216skip-0000000016size.hg
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
226 +02-ee2deecf044fa5583f66188c9177b0f13332adc2-0000001024skip-0000000128size.hg
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
227 +02-f864bc82f6a2f2ecb49b83722e0895f9d657b0dd-0000001234skip-0000000001size.hg
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
228 [1]
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
229
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
230 pull the other missing entries (multiple heads pulled)
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
231 ------------------------------------------------------
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
232
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
233 $ hg -R server log -G -T '{rev}:{node}\n' -r '1234+head()+(only(head(), 1234) and (merge() or branchpoint()))'
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
234 o 2130:0f376356904fc8c1c6ceaac27990f2fd79b1f8c1
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
235 :
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
236 o 1663:1710092b3ab17a6d2ecad664580991a608537749
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
237 |\
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
238 | ~
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
239 | o 1517:1dded5aafa0f8d548f6357cc2f8882dcc4489fbf
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
240 |/
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
241 o 1250:d83212ecaa436c80d6113cf915ba35e2db787e79
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
242 :
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
243 o 1234:f864bc82f6a2f2ecb49b83722e0895f9d657b0dd
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
244 |
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
245 ~
4138
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
246 $ hg -R client pull server --verbose
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
247 pulling from server
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
248 searching for changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
249 all local heads known remotely
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
250 pullbundle-cache: "missing" set sliced into 18 subranges in *.* seconds (glob)
4138
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
251 1 changesets found
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
252 4 changesets found
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
253 8 changesets found
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
254 32 changesets found
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
255 128 changesets found
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
256 64 changesets found
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
257 32 changesets found
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
258 8 changesets found
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
259 4 changesets found
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
260 2 changesets found
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
261 1 changesets found
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
262 4 changesets found
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
263 8 changesets found
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
264 16 changesets found
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
265 256 changesets found
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
266 256 changesets found
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
267 64 changesets found
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
268 8 changesets found
4138
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
269 uncompressed size of bundle content:
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
270 188 (changelog)
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
271 4 (manifests)
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
272 uncompressed size of bundle content:
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
273 740 (changelog)
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
274 4 (manifests)
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
275 uncompressed size of bundle content:
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
276 1476 (changelog)
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
277 4 (manifests)
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
278 uncompressed size of bundle content:
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
279 5892 (changelog)
4138
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
280 4 (manifests)
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
281 uncompressed size of bundle content:
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
282 23556 (changelog)
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
283 4 (manifests)
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
284 uncompressed size of bundle content:
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
285 11780 (changelog)
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
286 4 (manifests)
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
287 uncompressed size of bundle content:
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
288 5892 (changelog)
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
289 4 (manifests)
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
290 uncompressed size of bundle content:
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
291 1476 (changelog)
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
292 4 (manifests)
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
293 uncompressed size of bundle content:
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
294 740 (changelog)
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
295 4 (manifests)
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
296 uncompressed size of bundle content:
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
297 372 (changelog)
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
298 4 (manifests)
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
299 uncompressed size of bundle content:
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
300 188 (changelog)
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
301 4 (manifests)
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
302 uncompressed size of bundle content:
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
303 740 (changelog)
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
304 4 (manifests)
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
305 uncompressed size of bundle content:
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
306 1476 (changelog)
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
307 4 (manifests)
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
308 uncompressed size of bundle content:
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
309 2948 (changelog)
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
310 4 (manifests)
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
311 uncompressed size of bundle content:
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
312 47108 (changelog)
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
313 4 (manifests)
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
314 uncompressed size of bundle content:
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
315 47108 (changelog)
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
316 4 (manifests)
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
317 uncompressed size of bundle content:
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
318 11780 (changelog)
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
319 4 (manifests)
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
320 uncompressed size of bundle content:
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
321 1476 (changelog)
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
322 4 (manifests)
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
323 adding changesets
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
324 adding manifests
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
325 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
326 added 1 changesets with 0 changes to 0 files
4138
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
327 adding changesets
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
328 adding manifests
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
329 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
330 added 4 changesets with 0 changes to 0 files
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
331 adding changesets
4138
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
332 adding manifests
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
333 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
334 added 8 changesets with 0 changes to 0 files
4138
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
335 adding changesets
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
336 adding manifests
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
337 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
338 added 32 changesets with 0 changes to 0 files
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
339 adding changesets
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
340 adding manifests
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
341 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
342 added 128 changesets with 0 changes to 0 files
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
343 adding changesets
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
344 adding manifests
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
345 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
346 added 64 changesets with 0 changes to 0 files
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
347 adding changesets
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
348 adding manifests
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
349 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
350 added 32 changesets with 0 changes to 0 files
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
351 adding changesets
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
352 adding manifests
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
353 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
354 added 8 changesets with 0 changes to 0 files
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
355 adding changesets
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
356 adding manifests
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
357 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
358 added 4 changesets with 0 changes to 0 files
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
359 adding changesets
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
360 adding manifests
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
361 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
362 added 2 changesets with 0 changes to 0 files
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
363 adding changesets
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
364 adding manifests
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
365 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
366 added 1 changesets with 0 changes to 0 files (+1 heads)
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
367 adding changesets
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
368 adding manifests
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
369 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
370 added 4 changesets with 0 changes to 0 files
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
371 adding changesets
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
372 adding manifests
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
373 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
374 added 8 changesets with 0 changes to 0 files
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
375 adding changesets
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
376 adding manifests
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
377 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
378 added 16 changesets with 0 changes to 0 files
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
379 adding changesets
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
380 adding manifests
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
381 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
382 added 256 changesets with 0 changes to 0 files
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
383 adding changesets
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
384 adding manifests
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
385 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
386 added 256 changesets with 0 changes to 0 files
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
387 adding changesets
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
388 adding manifests
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
389 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
390 added 64 changesets with 0 changes to 0 files
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
391 adding changesets
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
392 adding manifests
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
393 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
394 added 8 changesets with 0 changes to 0 files
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
395 new changesets 17185c1c22f1:0f376356904f
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
396 (run 'hg heads' to see heads, 'hg merge' to merge)
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
397
4130
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
398 $ mv newbundles oldbundles
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
399 $ ls -1 server/.hg/cache/pullbundles > newbundles
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
400 $ diff -u oldbundles newbundles
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
401 --- oldbundles * (glob)
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
402 +++ newbundles * (glob)
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
403 @@ -1,6 +1,24 @@
4130
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
404 +02-0f376356904fc8c1c6ceaac27990f2fd79b1f8c1-0000001856skip-0000000008size.hg
4138
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
405 +02-17185c1c22f1266b084daf7cfb07b6ebbfbc65ab-0000001235skip-0000000001size.hg
4130
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
406 +02-1dded5aafa0f8d548f6357cc2f8882dcc4489fbf-0000001516skip-0000000002size.hg
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
407 +02-2dc4f1ab9029719714b8e0dde8e3725a5bb28472-0000001408skip-0000000064size.hg
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
408 +02-2f0e261a08964bc1c607c0eda4978364c22a9b94-0000001504skip-0000000008size.hg
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
409 02-467b6e370e816747e27de0d0b9237f4090a33656-0000001152skip-0000000064size.hg
4138
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
410 +02-484c46df3e41f371efd0ff74fa5221657527213f-0000001240skip-0000000008size.hg
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
411 +02-4a6d0f7d07d060b026d9fc690cd89cd26af96e42-0000001248skip-0000000032size.hg
4130
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
412 02-540f762640ee62ca597ece26af725e6357e82805-0000000000skip-0000001024size.hg
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
413 02-63ded94ceab180ac2fa13e1f0beeb4d2265998a3-0000001232skip-0000000002size.hg
4138
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
414 +02-694ef7e5b2984f1ec66c3d960799f4ff2459672c-0000001236skip-0000000004size.hg
4130
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
415 02-7f3a79522d6e904d52aea07c71e6cb612667e8f4-0000001216skip-0000000016size.hg
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
416 +02-89fab188d2ce3c4cde6be031f2fc5b9b4ff248e3-0000000900skip-0000000004size.hg
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
417 +02-97ede4832194ed56894374f2a1cc7a0022b486da-0000000904skip-0000000008size.hg
4130
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
418 +02-b2d350c94c26edbb783aaa21fc24f1fc65c30e74-0000001536skip-0000000256size.hg
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
419 +02-bbd293bd171fd5b711d428db46940a72eca7a40f-0000001280skip-0000000128size.hg
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
420 +02-c72277ff25807eb444fa48a60afb434d78c21f2f-0000000899skip-0000000001size.hg
4130
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
421 +02-da87a81c5310760f414a933e6550b7e8e60cf241-0000001792skip-0000000064size.hg
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
422 +02-dba2fddbf3c28198659046674a512afd616a1519-0000001472skip-0000000032size.hg
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
423 +02-e469a7aa5cce57653b6b02ff46c80b2d94d62629-0000000912skip-0000000016size.hg
4130
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
424 +02-e74670ea99533967c5d90da3ddbc0318cc1fd502-0000001280skip-0000000256size.hg
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
425 02-ee2deecf044fa5583f66188c9177b0f13332adc2-0000001024skip-0000000128size.hg
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
426 02-f864bc82f6a2f2ecb49b83722e0895f9d657b0dd-0000001234skip-0000000001size.hg
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
427 +02-fb6c210a224903e81e5a8d2ee099cb0c9526ba8c-0000001512skip-0000000004size.hg
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
428 [1]
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
429
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
430 Same Pullin with a different client
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
431 -----------------------------------
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
432 $ hg -R server log -G -T '{rev}:{node}\n' -r '0+1234+(::1234 and (merge() or branchpoint()))'
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
433 o 1234:f864bc82f6a2f2ecb49b83722e0895f9d657b0dd
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
434 :
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
435 o 898:1388f909cd2b0685efd4e2ce076d198bce20922c
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
436 :
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
437 o 0:1ea73414a91b0920940797d8fc6a11e447f8ea1e
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
438
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
439
4138
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
440 $ hg -R client2 pull server -r 1234 --verbose
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
441 pulling from server
4133
1293625d274d pullbundle: add an output about the time spent slicing the set
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4131
diff changeset
442 pullbundle-cache: "missing" set sliced into 6 subranges in *.* seconds (glob)
4130
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
443 1024 changesets found in caches
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
444 128 changesets found in caches
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
445 64 changesets found in caches
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
446 16 changesets found in caches
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
447 2 changesets found in caches
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
448 1 changesets found in caches
4128
4e5ec9ae682e pullbundle: initial commit
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
449 adding changesets
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
450 adding manifests
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
451 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
452 added 1024 changesets with 0 changes to 0 files
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
453 adding changesets
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
454 adding manifests
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
455 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
456 added 128 changesets with 0 changes to 0 files
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
457 adding changesets
4128
4e5ec9ae682e pullbundle: initial commit
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
458 adding manifests
4e5ec9ae682e pullbundle: initial commit
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
459 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
460 added 64 changesets with 0 changes to 0 files
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
461 adding changesets
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
462 adding manifests
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
463 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
464 added 16 changesets with 0 changes to 0 files
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
465 adding changesets
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
466 adding manifests
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
467 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
468 added 2 changesets with 0 changes to 0 files
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
469 adding changesets
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
470 adding manifests
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
471 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
472 added 1 changesets with 0 changes to 0 files
4128
4e5ec9ae682e pullbundle: initial commit
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
473 new changesets 1ea73414a91b:f864bc82f6a2
4e5ec9ae682e pullbundle: initial commit
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
474 (run 'hg update' to get a working copy)
4e5ec9ae682e pullbundle: initial commit
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
475
4130
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
476 $ mv newbundles oldbundles
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
477 $ ls -1 server/.hg/cache/pullbundles > newbundles
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
478 $ diff -u oldbundles newbundles
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
479
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
480 $ hg -R server log -G -T '{rev}:{node}\n' -r '1234+head()+(only(head(), 1234) and (merge() or branchpoint()))'
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
481 o 2130:0f376356904fc8c1c6ceaac27990f2fd79b1f8c1
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
482 :
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
483 o 1663:1710092b3ab17a6d2ecad664580991a608537749
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
484 |\
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
485 | ~
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
486 | o 1517:1dded5aafa0f8d548f6357cc2f8882dcc4489fbf
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
487 |/
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
488 o 1250:d83212ecaa436c80d6113cf915ba35e2db787e79
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
489 :
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
490 o 1234:f864bc82f6a2f2ecb49b83722e0895f9d657b0dd
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
491 |
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
492 ~
4128
4e5ec9ae682e pullbundle: initial commit
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
493
4138
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
494 $ hg -R client2 pull server --verbose
4128
4e5ec9ae682e pullbundle: initial commit
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
495 pulling from server
4e5ec9ae682e pullbundle: initial commit
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
496 searching for changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
497 all local heads known remotely
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
498 pullbundle-cache: "missing" set sliced into 18 subranges in *.* seconds (glob)
4138
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
499 1 changesets found in caches
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
500 4 changesets found in caches
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
501 8 changesets found in caches
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
502 32 changesets found in caches
4130
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
503 128 changesets found in caches
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
504 64 changesets found in caches
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
505 32 changesets found in caches
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
506 8 changesets found in caches
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
507 4 changesets found in caches
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
508 2 changesets found in caches
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
509 1 changesets found in caches
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
510 4 changesets found in caches
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
511 8 changesets found in caches
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
512 16 changesets found in caches
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
513 256 changesets found in caches
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
514 256 changesets found in caches
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
515 64 changesets found in caches
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
516 8 changesets found in caches
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
517 adding changesets
4138
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
518 adding manifests
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
519 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
520 added 1 changesets with 0 changes to 0 files
4138
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
521 adding changesets
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
522 adding manifests
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
523 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
524 added 4 changesets with 0 changes to 0 files
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
525 adding changesets
4138
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
526 adding manifests
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
527 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
528 added 8 changesets with 0 changes to 0 files
4138
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
529 adding changesets
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
530 adding manifests
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
531 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
532 added 32 changesets with 0 changes to 0 files
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
533 adding changesets
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
534 adding manifests
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
535 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
536 added 128 changesets with 0 changes to 0 files
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
537 adding changesets
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
538 adding manifests
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
539 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
540 added 64 changesets with 0 changes to 0 files
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
541 adding changesets
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
542 adding manifests
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
543 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
544 added 32 changesets with 0 changes to 0 files
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
545 adding changesets
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
546 adding manifests
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
547 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
548 added 8 changesets with 0 changes to 0 files
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
549 adding changesets
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
550 adding manifests
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
551 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
552 added 4 changesets with 0 changes to 0 files
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
553 adding changesets
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
554 adding manifests
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
555 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
556 added 2 changesets with 0 changes to 0 files
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
557 adding changesets
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
558 adding manifests
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
559 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
560 added 1 changesets with 0 changes to 0 files (+1 heads)
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
561 adding changesets
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
562 adding manifests
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
563 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
564 added 4 changesets with 0 changes to 0 files
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
565 adding changesets
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
566 adding manifests
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
567 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
568 added 8 changesets with 0 changes to 0 files
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
569 adding changesets
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
570 adding manifests
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
571 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
572 added 16 changesets with 0 changes to 0 files
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
573 adding changesets
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
574 adding manifests
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
575 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
576 added 256 changesets with 0 changes to 0 files
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
577 adding changesets
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
578 adding manifests
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
579 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
580 added 256 changesets with 0 changes to 0 files
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
581 adding changesets
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
582 adding manifests
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
583 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
584 added 64 changesets with 0 changes to 0 files
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
585 adding changesets
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
586 adding manifests
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
587 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
588 added 8 changesets with 0 changes to 0 files
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
589 new changesets 17185c1c22f1:0f376356904f
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
590 (run 'hg heads' to see heads, 'hg merge' to merge)
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
591
4130
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
592 $ mv newbundles oldbundles
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
593 $ ls -1 server/.hg/cache/pullbundles > newbundles
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
594 $ diff -u oldbundles newbundles
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
595
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
596 different pull with a different client
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
597 --------------------------------------
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
598
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
599 $ hg -R server log -G -T '{rev}:{node}\n' -r '87232049c8d1+0+1789+(::1789 and (merge() or branchpoint()))'
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
600 o 2085:87232049c8d1f413105bf813b6bfc21da3e26a4f
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
601 :
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
602 o 1789:44e80141ad530a2aa085e9bd9b5311b57eff72ff
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
603 :
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
604 o 1663:1710092b3ab17a6d2ecad664580991a608537749
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
605 |\
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
606 o : 1250:d83212ecaa436c80d6113cf915ba35e2db787e79
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
607 :/
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
608 o 898:1388f909cd2b0685efd4e2ce076d198bce20922c
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
609 :
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
610 o 0:1ea73414a91b0920940797d8fc6a11e447f8ea1e
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
611
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
612
4138
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
613 $ hg -R client3 pull server -r 1789 --verbose
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
614 pulling from server
4133
1293625d274d pullbundle: add an output about the time spent slicing the set
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4131
diff changeset
615 pullbundle-cache: "missing" set sliced into 9 subranges in *.* seconds (glob)
4130
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
616 1024 changesets found in caches
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
617 227 changesets found
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
618 29 changesets found
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
619 128 changesets found
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
620 64 changesets found
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
621 32 changesets found
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
622 16 changesets found
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
623 2 changesets found
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
624 1 changesets found
4138
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
625 uncompressed size of bundle content:
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
626 41772 (changelog)
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
627 4 (manifests)
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
628 uncompressed size of bundle content:
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
629 5340 (changelog)
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
630 4 (manifests)
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
631 uncompressed size of bundle content:
4138
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
632 23556 (changelog)
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
633 4 (manifests)
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
634 uncompressed size of bundle content:
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
635 11780 (changelog)
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
636 4 (manifests)
4128
4e5ec9ae682e pullbundle: initial commit
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
637 adding changesets
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
638 adding manifests
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
639 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
640 added 1024 changesets with 0 changes to 0 files
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
641 adding changesets
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
642 adding manifests
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
643 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
644 added 227 changesets with 0 changes to 0 files
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
645 adding changesets
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
646 adding manifests
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
647 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
648 added 29 changesets with 0 changes to 0 files (+1 heads)
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
649 adding changesets
4128
4e5ec9ae682e pullbundle: initial commit
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
650 adding manifests
4e5ec9ae682e pullbundle: initial commit
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
651 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
652 added 128 changesets with 0 changes to 0 files (-1 heads)
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
653 adding changesets
4138
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
654 uncompressed size of bundle content:
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
655 5892 (changelog)
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
656 4 (manifests)
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
657 uncompressed size of bundle content:
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
658 2948 (changelog)
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
659 4 (manifests)
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
660 uncompressed size of bundle content:
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
661 372 (changelog)
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
662 4 (manifests)
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
663 uncompressed size of bundle content:
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
664 188 (changelog)
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
665 4 (manifests)
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
666 adding manifests
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
667 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
668 added 64 changesets with 0 changes to 0 files
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
669 adding changesets
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
670 adding manifests
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
671 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
672 added 32 changesets with 0 changes to 0 files
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
673 adding changesets
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
674 adding manifests
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
675 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
676 added 16 changesets with 0 changes to 0 files
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
677 adding changesets
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
678 adding manifests
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
679 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
680 added 2 changesets with 0 changes to 0 files
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
681 adding changesets
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
682 adding manifests
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
683 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
684 added 1 changesets with 0 changes to 0 files
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
685 new changesets 1ea73414a91b:44e80141ad53
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
686 (run 'hg update' to get a working copy)
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
687
4130
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
688 $ mv newbundles oldbundles
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
689 $ ls -1 server/.hg/cache/pullbundles > newbundles
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
690 $ diff -u oldbundles newbundles
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
691 --- oldbundles * (glob)
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
692 +++ newbundles * (glob)
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
693 @@ -3,20 +3,28 @@
4130
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
694 02-1dded5aafa0f8d548f6357cc2f8882dcc4489fbf-0000001516skip-0000000002size.hg
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
695 02-2dc4f1ab9029719714b8e0dde8e3725a5bb28472-0000001408skip-0000000064size.hg
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
696 02-2f0e261a08964bc1c607c0eda4978364c22a9b94-0000001504skip-0000000008size.hg
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
697 +02-44e80141ad530a2aa085e9bd9b5311b57eff72ff-0000001522skip-0000000001size.hg
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
698 02-467b6e370e816747e27de0d0b9237f4090a33656-0000001152skip-0000000064size.hg
4138
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
699 02-484c46df3e41f371efd0ff74fa5221657527213f-0000001240skip-0000000008size.hg
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
700 02-4a6d0f7d07d060b026d9fc690cd89cd26af96e42-0000001248skip-0000000032size.hg
4130
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
701 02-540f762640ee62ca597ece26af725e6357e82805-0000000000skip-0000001024size.hg
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
702 +02-59e60b258b18cde1e931cf30ce4ae62b49e37abd-0000001520skip-0000000002size.hg
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
703 02-63ded94ceab180ac2fa13e1f0beeb4d2265998a3-0000001232skip-0000000002size.hg
4138
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
704 02-694ef7e5b2984f1ec66c3d960799f4ff2459672c-0000001236skip-0000000004size.hg
4130
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
705 +02-7a55a4d5ce324910842c893b56173cf2a847cb9d-0000001472skip-0000000032size.hg
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
706 02-7f3a79522d6e904d52aea07c71e6cb612667e8f4-0000001216skip-0000000016size.hg
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
707 02-89fab188d2ce3c4cde6be031f2fc5b9b4ff248e3-0000000900skip-0000000004size.hg
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
708 02-97ede4832194ed56894374f2a1cc7a0022b486da-0000000904skip-0000000008size.hg
4130
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
709 +02-a4ab7df9d74053fb819c8a1c6a48ad605cc05f8a-0000001504skip-0000000016size.hg
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
710 02-b2d350c94c26edbb783aaa21fc24f1fc65c30e74-0000001536skip-0000000256size.hg
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
711 02-bbd293bd171fd5b711d428db46940a72eca7a40f-0000001280skip-0000000128size.hg
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
712 +02-c12927fef661d2463043347101b90067c2961333-0000001280skip-0000000128size.hg
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
713 02-c72277ff25807eb444fa48a60afb434d78c21f2f-0000000899skip-0000000001size.hg
4130
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
714 +02-d83212ecaa436c80d6113cf915ba35e2db787e79-0000001024skip-0000000227size.hg
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
715 02-da87a81c5310760f414a933e6550b7e8e60cf241-0000001792skip-0000000064size.hg
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
716 02-dba2fddbf3c28198659046674a512afd616a1519-0000001472skip-0000000032size.hg
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
717 +02-dc714c3a5d080165292ba99b097567d0b95e5756-0000001408skip-0000000064size.hg
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
718 +02-e469a7aa5cce57653b6b02ff46c80b2d94d62629-0000000899skip-0000000029size.hg
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
719 02-e469a7aa5cce57653b6b02ff46c80b2d94d62629-0000000912skip-0000000016size.hg
4130
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
720 02-e74670ea99533967c5d90da3ddbc0318cc1fd502-0000001280skip-0000000256size.hg
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
721 02-ee2deecf044fa5583f66188c9177b0f13332adc2-0000001024skip-0000000128size.hg
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
722 [1]
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
723
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
724 $ hg -R server log -G -T '{rev}:{node}\n' -r '1789+head()+parents(roots(only(head(), 1789)))+(only(head(), 1789) and (merge() or branchpoint()))'
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
725 o 2130:0f376356904fc8c1c6ceaac27990f2fd79b1f8c1
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
726 :
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
727 o 1789:44e80141ad530a2aa085e9bd9b5311b57eff72ff
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
728 :
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
729 : o 1517:1dded5aafa0f8d548f6357cc2f8882dcc4489fbf
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
730 :/
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
731 o 1250:d83212ecaa436c80d6113cf915ba35e2db787e79
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
732 |
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
733 ~
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
734
4138
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
735 $ hg -R client3 pull server --verbose
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
736 pulling from server
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
737 searching for changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
738 all local heads known remotely
4133
1293625d274d pullbundle: add an output about the time spent slicing the set
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4131
diff changeset
739 pullbundle-cache: "missing" set sliced into 16 subranges in *.* seconds (glob)
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
740 1 changesets found
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
741 4 changesets found
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
742 8 changesets found
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
743 16 changesets found
4130
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
744 128 changesets found in caches
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
745 64 changesets found in caches
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
746 32 changesets found in caches
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
747 8 changesets found in caches
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
748 4 changesets found in caches
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
749 2 changesets found in caches
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
750 1 changesets found
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
751 4 changesets found
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
752 8 changesets found
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
753 256 changesets found in caches
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
754 64 changesets found in caches
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
755 8 changesets found in caches
4138
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
756 uncompressed size of bundle content:
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
757 188 (changelog)
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
758 4 (manifests)
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
759 uncompressed size of bundle content:
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
760 740 (changelog)
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
761 4 (manifests)
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
762 uncompressed size of bundle content:
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
763 1476 (changelog)
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
764 4 (manifests)
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
765 uncompressed size of bundle content:
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
766 2948 (changelog)
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
767 4 (manifests)
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
768 uncompressed size of bundle content:
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
769 188 (changelog)
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
770 4 (manifests)
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
771 uncompressed size of bundle content:
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
772 740 (changelog)
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
773 4 (manifests)
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
774 uncompressed size of bundle content:
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
775 1476 (changelog)
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
776 4 (manifests)
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
777 adding changesets
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
778 adding manifests
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
779 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
780 added 1 changesets with 0 changes to 0 files (+1 heads)
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
781 adding changesets
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
782 adding manifests
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
783 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
784 added 4 changesets with 0 changes to 0 files
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
785 adding changesets
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
786 adding manifests
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
787 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
788 added 8 changesets with 0 changes to 0 files
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
789 adding changesets
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
790 adding manifests
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
791 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
792 added 16 changesets with 0 changes to 0 files
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
793 adding changesets
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
794 adding manifests
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
795 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
796 added 128 changesets with 0 changes to 0 files
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
797 adding changesets
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
798 adding manifests
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
799 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
800 added 64 changesets with 0 changes to 0 files
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
801 adding changesets
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
802 adding manifests
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
803 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
804 added 32 changesets with 0 changes to 0 files
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
805 adding changesets
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
806 adding manifests
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
807 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
808 added 8 changesets with 0 changes to 0 files
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
809 adding changesets
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
810 adding manifests
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
811 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
812 added 4 changesets with 0 changes to 0 files
4129
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
813 adding changesets
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
814 adding manifests
bc4e62a1cb82 pullbundle: slice pull into multiple ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4128
diff changeset
815 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
816 added 2 changesets with 0 changes to 0 files
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
817 adding changesets
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
818 adding manifests
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
819 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
820 added 1 changesets with 0 changes to 0 files
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
821 adding changesets
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
822 adding manifests
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
823 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
824 added 4 changesets with 0 changes to 0 files
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
825 adding changesets
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
826 adding manifests
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
827 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
828 added 8 changesets with 0 changes to 0 files
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
829 adding changesets
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
830 adding manifests
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
831 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
832 added 256 changesets with 0 changes to 0 files
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
833 adding changesets
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
834 adding manifests
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
835 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
836 added 64 changesets with 0 changes to 0 files
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
837 adding changesets
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
838 adding manifests
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
839 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
840 added 8 changesets with 0 changes to 0 files
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
841 new changesets d1807e351389:0f376356904f
4128
4e5ec9ae682e pullbundle: initial commit
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
842 (run 'hg heads' to see heads, 'hg merge' to merge)
4130
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
843
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
844 $ mv newbundles oldbundles
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
845 $ ls -1 server/.hg/cache/pullbundles > newbundles
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
846 $ diff -u oldbundles newbundles
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
847 --- oldbundles * (glob)
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
848 +++ newbundles * (glob)
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
849 @@ -1,14 +1,17 @@
4130
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
850 02-0f376356904fc8c1c6ceaac27990f2fd79b1f8c1-0000001856skip-0000000008size.hg
4138
cfdc6f55599b pullbundle: improve slicing of the lower part of range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4134
diff changeset
851 02-17185c1c22f1266b084daf7cfb07b6ebbfbc65ab-0000001235skip-0000000001size.hg
4130
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
852 02-1dded5aafa0f8d548f6357cc2f8882dcc4489fbf-0000001516skip-0000000002size.hg
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
853 +02-1ed78f99f705cb819a02f1227c217728d008e461-0000001524skip-0000000004size.hg
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
854 02-2dc4f1ab9029719714b8e0dde8e3725a5bb28472-0000001408skip-0000000064size.hg
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
855 02-2f0e261a08964bc1c607c0eda4978364c22a9b94-0000001504skip-0000000008size.hg
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
856 02-44e80141ad530a2aa085e9bd9b5311b57eff72ff-0000001522skip-0000000001size.hg
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
857 02-467b6e370e816747e27de0d0b9237f4090a33656-0000001152skip-0000000064size.hg
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
858 02-484c46df3e41f371efd0ff74fa5221657527213f-0000001240skip-0000000008size.hg
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
859 02-4a6d0f7d07d060b026d9fc690cd89cd26af96e42-0000001248skip-0000000032size.hg
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
860 +02-4a6d0f7d07d060b026d9fc690cd89cd26af96e42-0000001264skip-0000000016size.hg
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
861 02-540f762640ee62ca597ece26af725e6357e82805-0000000000skip-0000001024size.hg
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
862 02-59e60b258b18cde1e931cf30ce4ae62b49e37abd-0000001520skip-0000000002size.hg
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
863 +02-5eaa75df73c454c1afff722301a4c73e897de94d-0000001256skip-0000000008size.hg
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
864 02-63ded94ceab180ac2fa13e1f0beeb4d2265998a3-0000001232skip-0000000002size.hg
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
865 02-694ef7e5b2984f1ec66c3d960799f4ff2459672c-0000001236skip-0000000004size.hg
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
866 02-7a55a4d5ce324910842c893b56173cf2a847cb9d-0000001472skip-0000000032size.hg
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
867 @@ -19,7 +22,10 @@
4130
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
868 02-b2d350c94c26edbb783aaa21fc24f1fc65c30e74-0000001536skip-0000000256size.hg
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
869 02-bbd293bd171fd5b711d428db46940a72eca7a40f-0000001280skip-0000000128size.hg
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
870 02-c12927fef661d2463043347101b90067c2961333-0000001280skip-0000000128size.hg
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
871 +02-c232505f58fdf70bcf5f6ab6a555f23ffc74f761-0000001523skip-0000000001size.hg
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
872 02-c72277ff25807eb444fa48a60afb434d78c21f2f-0000000899skip-0000000001size.hg
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
873 +02-ca970a853ea24846035ccb324cc8de49ef768748-0000001252skip-0000000004size.hg
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
874 +02-d1807e3513890ac71c2e8d10e9dc9a5b58b15d4b-0000001251skip-0000000001size.hg
4130
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
875 02-d83212ecaa436c80d6113cf915ba35e2db787e79-0000001024skip-0000000227size.hg
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
876 02-da87a81c5310760f414a933e6550b7e8e60cf241-0000001792skip-0000000064size.hg
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
877 02-dba2fddbf3c28198659046674a512afd616a1519-0000001472skip-0000000032size.hg
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
878 @@ -27,6 +33,7 @@
4130
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
879 02-e469a7aa5cce57653b6b02ff46c80b2d94d62629-0000000899skip-0000000029size.hg
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
880 02-e469a7aa5cce57653b6b02ff46c80b2d94d62629-0000000912skip-0000000016size.hg
4130
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
881 02-e74670ea99533967c5d90da3ddbc0318cc1fd502-0000001280skip-0000000256size.hg
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
882 +02-e74670ea99533967c5d90da3ddbc0318cc1fd502-0000001528skip-0000000008size.hg
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
883 02-ee2deecf044fa5583f66188c9177b0f13332adc2-0000001024skip-0000000128size.hg
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
884 02-f864bc82f6a2f2ecb49b83722e0895f9d657b0dd-0000001234skip-0000000001size.hg
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
885 02-fb6c210a224903e81e5a8d2ee099cb0c9526ba8c-0000001512skip-0000000004size.hg
a1f6b8211016 pullbundle: add caching logic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4129
diff changeset
886 [1]
4131
788798a9a159 pullbundle: add an extra test showing how cache are reusable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4130
diff changeset
887
788798a9a159 pullbundle: add an extra test showing how cache are reusable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4130
diff changeset
888 Single pull coming after various cache warming
788798a9a159 pullbundle: add an extra test showing how cache are reusable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4130
diff changeset
889 ----------------------------------------------
788798a9a159 pullbundle: add an extra test showing how cache are reusable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4130
diff changeset
890
788798a9a159 pullbundle: add an extra test showing how cache are reusable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4130
diff changeset
891 $ hg -R client4 pull --verbose server | grep -v 'add changeset'
788798a9a159 pullbundle: add an extra test showing how cache are reusable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4130
diff changeset
892 pulling from server
788798a9a159 pullbundle: add an extra test showing how cache are reusable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4130
diff changeset
893 requesting all changes
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
894 pullbundle-cache: "missing" set sliced into 16 subranges in *.* seconds (glob)
4131
788798a9a159 pullbundle: add an extra test showing how cache are reusable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4130
diff changeset
895 1024 changesets found in caches
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
896 256 changesets found
4131
788798a9a159 pullbundle: add an extra test showing how cache are reusable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4130
diff changeset
897 128 changesets found in caches
788798a9a159 pullbundle: add an extra test showing how cache are reusable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4130
diff changeset
898 64 changesets found in caches
788798a9a159 pullbundle: add an extra test showing how cache are reusable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4130
diff changeset
899 32 changesets found in caches
788798a9a159 pullbundle: add an extra test showing how cache are reusable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4130
diff changeset
900 8 changesets found in caches
788798a9a159 pullbundle: add an extra test showing how cache are reusable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4130
diff changeset
901 4 changesets found in caches
788798a9a159 pullbundle: add an extra test showing how cache are reusable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4130
diff changeset
902 2 changesets found in caches
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
903 1 changesets found in caches
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
904 4 changesets found in caches
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
905 8 changesets found in caches
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
906 16 changesets found in caches
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
907 256 changesets found in caches
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
908 256 changesets found in caches
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
909 64 changesets found in caches
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
910 8 changesets found in caches
4131
788798a9a159 pullbundle: add an extra test showing how cache are reusable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4130
diff changeset
911 uncompressed size of bundle content:
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
912 47108 (changelog)
4131
788798a9a159 pullbundle: add an extra test showing how cache are reusable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4130
diff changeset
913 4 (manifests)
788798a9a159 pullbundle: add an extra test showing how cache are reusable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4130
diff changeset
914 adding changesets
788798a9a159 pullbundle: add an extra test showing how cache are reusable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4130
diff changeset
915 adding manifests
788798a9a159 pullbundle: add an extra test showing how cache are reusable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4130
diff changeset
916 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
917 added 1024 changesets with 0 changes to 0 files
4131
788798a9a159 pullbundle: add an extra test showing how cache are reusable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4130
diff changeset
918 adding changesets
788798a9a159 pullbundle: add an extra test showing how cache are reusable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4130
diff changeset
919 adding manifests
788798a9a159 pullbundle: add an extra test showing how cache are reusable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4130
diff changeset
920 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
921 added 256 changesets with 0 changes to 0 files
4131
788798a9a159 pullbundle: add an extra test showing how cache are reusable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4130
diff changeset
922 adding changesets
788798a9a159 pullbundle: add an extra test showing how cache are reusable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4130
diff changeset
923 adding manifests
788798a9a159 pullbundle: add an extra test showing how cache are reusable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4130
diff changeset
924 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
925 added 128 changesets with 0 changes to 0 files
4131
788798a9a159 pullbundle: add an extra test showing how cache are reusable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4130
diff changeset
926 adding changesets
788798a9a159 pullbundle: add an extra test showing how cache are reusable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4130
diff changeset
927 adding manifests
788798a9a159 pullbundle: add an extra test showing how cache are reusable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4130
diff changeset
928 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
929 added 64 changesets with 0 changes to 0 files
4131
788798a9a159 pullbundle: add an extra test showing how cache are reusable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4130
diff changeset
930 adding changesets
788798a9a159 pullbundle: add an extra test showing how cache are reusable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4130
diff changeset
931 adding manifests
788798a9a159 pullbundle: add an extra test showing how cache are reusable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4130
diff changeset
932 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
933 added 32 changesets with 0 changes to 0 files
4131
788798a9a159 pullbundle: add an extra test showing how cache are reusable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4130
diff changeset
934 adding changesets
788798a9a159 pullbundle: add an extra test showing how cache are reusable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4130
diff changeset
935 adding manifests
788798a9a159 pullbundle: add an extra test showing how cache are reusable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4130
diff changeset
936 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
937 added 8 changesets with 0 changes to 0 files
4131
788798a9a159 pullbundle: add an extra test showing how cache are reusable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4130
diff changeset
938 adding changesets
788798a9a159 pullbundle: add an extra test showing how cache are reusable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4130
diff changeset
939 adding manifests
788798a9a159 pullbundle: add an extra test showing how cache are reusable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4130
diff changeset
940 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
941 added 4 changesets with 0 changes to 0 files
4131
788798a9a159 pullbundle: add an extra test showing how cache are reusable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4130
diff changeset
942 adding changesets
788798a9a159 pullbundle: add an extra test showing how cache are reusable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4130
diff changeset
943 adding manifests
788798a9a159 pullbundle: add an extra test showing how cache are reusable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4130
diff changeset
944 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
945 added 2 changesets with 0 changes to 0 files
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
946 adding changesets
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
947 adding manifests
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
948 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
949 added 1 changesets with 0 changes to 0 files (+1 heads)
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
950 adding changesets
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
951 adding manifests
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
952 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
953 added 4 changesets with 0 changes to 0 files
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
954 adding changesets
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
955 adding manifests
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
956 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
957 added 8 changesets with 0 changes to 0 files
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
958 adding changesets
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
959 adding manifests
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
960 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
961 added 16 changesets with 0 changes to 0 files
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
962 adding changesets
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
963 adding manifests
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
964 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
965 added 256 changesets with 0 changes to 0 files
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
966 adding changesets
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
967 adding manifests
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
968 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
969 added 256 changesets with 0 changes to 0 files
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
970 adding changesets
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
971 adding manifests
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
972 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
973 added 64 changesets with 0 changes to 0 files
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
974 adding changesets
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
975 adding manifests
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
976 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
977 added 8 changesets with 0 changes to 0 files
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
978 new changesets 1ea73414a91b:0f376356904f
4131
788798a9a159 pullbundle: add an extra test showing how cache are reusable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4130
diff changeset
979 (run 'hg heads' to see heads, 'hg merge' to merge)
788798a9a159 pullbundle: add an extra test showing how cache are reusable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4130
diff changeset
980
788798a9a159 pullbundle: add an extra test showing how cache are reusable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4130
diff changeset
981 $ mv newbundles oldbundles
788798a9a159 pullbundle: add an extra test showing how cache are reusable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4130
diff changeset
982 $ ls -1 server/.hg/cache/pullbundles > newbundles
788798a9a159 pullbundle: add an extra test showing how cache are reusable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4130
diff changeset
983 $ diff -u oldbundles newbundles
788798a9a159 pullbundle: add an extra test showing how cache are reusable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4130
diff changeset
984 --- oldbundles * (glob)
788798a9a159 pullbundle: add an extra test showing how cache are reusable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4130
diff changeset
985 +++ newbundles * (glob)
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
986 @@ -7,6 +7,7 @@
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
987 02-44e80141ad530a2aa085e9bd9b5311b57eff72ff-0000001522skip-0000000001size.hg
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
988 02-467b6e370e816747e27de0d0b9237f4090a33656-0000001152skip-0000000064size.hg
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
989 02-484c46df3e41f371efd0ff74fa5221657527213f-0000001240skip-0000000008size.hg
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
990 +02-4a6d0f7d07d060b026d9fc690cd89cd26af96e42-0000001024skip-0000000256size.hg
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
991 02-4a6d0f7d07d060b026d9fc690cd89cd26af96e42-0000001248skip-0000000032size.hg
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
992 02-4a6d0f7d07d060b026d9fc690cd89cd26af96e42-0000001264skip-0000000016size.hg
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
993 02-540f762640ee62ca597ece26af725e6357e82805-0000000000skip-0000001024size.hg
4131
788798a9a159 pullbundle: add an extra test showing how cache are reusable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4130
diff changeset
994 [1]
4134
ab77f37fedf3 pullbundle: add a config option for the cache directory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4133
diff changeset
995
4140
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
996 Pull with piece "not linear from head"
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
997 --------------------------------------
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
998
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
999 $ hg -R server log -G -T '{rev}:{node}\n' -r 'branchpoint() + merge() + head() + children(branchpoint())'
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1000 o 2130:0f376356904fc8c1c6ceaac27990f2fd79b1f8c1
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1001 :
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1002 o 1663:1710092b3ab17a6d2ecad664580991a608537749
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1003 |\
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1004 | o 1518:c72277ff25807eb444fa48a60afb434d78c21f2f
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1005 | |
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1006 | | o 1517:1dded5aafa0f8d548f6357cc2f8882dcc4489fbf
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1007 | | :
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1008 +---o 1251:d1807e3513890ac71c2e8d10e9dc9a5b58b15d4b
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1009 | |
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1010 o | 1250:d83212ecaa436c80d6113cf915ba35e2db787e79
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1011 : |
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1012 o | 899:c31a4e0cc28d677b8020e46aa3bb2fd5ee5b1a06
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1013 |/
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1014 o 898:1388f909cd2b0685efd4e2ce076d198bce20922c
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1015 |
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1016 ~
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1017
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1018 $ hg init test-local-missing
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1019 $ hg -R test-local-missing pull server --rev 899 --rev 1518 --verbose
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1020 pulling from server
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1021 pullbundle-cache: "missing" set sliced into 5 subranges in *.* seconds (glob)
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1022 512 changesets found
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1023 256 changesets found
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1024 128 changesets found
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1025 4 changesets found
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1026 1 changesets found
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1027 uncompressed size of bundle content:
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1028 92968 (changelog)
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1029 4 (manifests)
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1030 uncompressed size of bundle content:
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1031 46596 (changelog)
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1032 4 (manifests)
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1033 uncompressed size of bundle content:
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1034 23300 (changelog)
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1035 4 (manifests)
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1036 uncompressed size of bundle content:
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1037 734 (changelog)
4140
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1038 4 (manifests)
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1039 uncompressed size of bundle content:
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1040 186 (changelog)
4140
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1041 4 (manifests)
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1042 adding changesets
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1043 adding manifests
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1044 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
1045 added 512 changesets with 0 changes to 0 files
4140
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1046 adding changesets
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1047 adding manifests
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1048 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
1049 added 256 changesets with 0 changes to 0 files
4140
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1050 adding changesets
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1051 adding manifests
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1052 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
1053 added 128 changesets with 0 changes to 0 files
4140
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1054 adding changesets
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1055 adding manifests
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1056 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
1057 added 4 changesets with 0 changes to 0 files
4140
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1058 adding changesets
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1059 adding manifests
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1060 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
1061 added 1 changesets with 0 changes to 0 files (+1 heads)
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1062 new changesets 1ea73414a91b:c31a4e0cc28d
4140
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1063 (run 'hg heads' to see heads, 'hg merge' to merge)
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1064 $ hg -R test-local-missing pull server --verbose
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1065 pulling from server
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1066 searching for changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
1067 all local heads known remotely
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1068 pullbundle-cache: "missing" set sliced into 19 subranges in *.* seconds (glob)
4140
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1069 4 changesets found
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1070 8 changesets found
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1071 16 changesets found
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1072 32 changesets found
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1073 64 changesets found
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1074 256 changesets found in caches
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1075 128 changesets found in caches
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1076 64 changesets found in caches
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1077 32 changesets found in caches
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1078 8 changesets found in caches
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1079 4 changesets found in caches
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1080 2 changesets found in caches
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1081 4 changesets found in caches
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1082 8 changesets found in caches
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1083 16 changesets found in caches
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1084 256 changesets found in caches
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1085 256 changesets found in caches
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1086 64 changesets found in caches
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1087 8 changesets found in caches
4140
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1088 uncompressed size of bundle content:
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1089 732 (changelog)
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1090 4 (manifests)
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1091 uncompressed size of bundle content:
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1092 1460 (changelog)
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1093 4 (manifests)
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1094 uncompressed size of bundle content:
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1095 2916 (changelog)
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1096 4 (manifests)
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1097 uncompressed size of bundle content:
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1098 5828 (changelog)
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1099 4 (manifests)
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1100 uncompressed size of bundle content:
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1101 11700 (changelog)
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1102 4 (manifests)
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1103 adding changesets
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1104 adding manifests
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1105 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
1106 added 4 changesets with 0 changes to 0 files
4140
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1107 adding changesets
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1108 adding manifests
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1109 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
1110 added 8 changesets with 0 changes to 0 files
4140
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1111 adding changesets
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1112 adding manifests
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1113 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
1114 added 16 changesets with 0 changes to 0 files
4140
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1115 adding changesets
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1116 adding manifests
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1117 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
1118 added 32 changesets with 0 changes to 0 files
4140
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1119 adding changesets
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1120 adding manifests
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1121 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
1122 added 64 changesets with 0 changes to 0 files
4140
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1123 adding changesets
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1124 adding manifests
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1125 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
1126 added 256 changesets with 0 changes to 0 files
4140
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1127 adding changesets
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1128 adding manifests
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1129 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
1130 added 128 changesets with 0 changes to 0 files
4140
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1131 adding changesets
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1132 adding manifests
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1133 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
1134 added 64 changesets with 0 changes to 0 files
4140
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1135 adding changesets
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1136 adding manifests
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1137 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
1138 added 32 changesets with 0 changes to 0 files
4140
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1139 adding changesets
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1140 adding manifests
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1141 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
1142 added 8 changesets with 0 changes to 0 files
4140
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1143 adding changesets
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1144 adding manifests
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1145 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
1146 added 4 changesets with 0 changes to 0 files
4140
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1147 adding changesets
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1148 adding manifests
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1149 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
1150 added 2 changesets with 0 changes to 0 files
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1151 adding changesets
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1152 adding manifests
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1153 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
1154 added 4 changesets with 0 changes to 0 files
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1155 adding changesets
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1156 adding manifests
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1157 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
1158 added 8 changesets with 0 changes to 0 files
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1159 adding changesets
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1160 adding manifests
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1161 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
1162 added 16 changesets with 0 changes to 0 files
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1163 adding changesets
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1164 adding manifests
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1165 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
1166 added 256 changesets with 0 changes to 0 files
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1167 adding changesets
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1168 adding manifests
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1169 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
1170 added 256 changesets with 0 changes to 0 files
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1171 adding changesets
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1172 adding manifests
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1173 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
1174 added 64 changesets with 0 changes to 0 files
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1175 adding changesets
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1176 adding manifests
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1177 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
1178 added 8 changesets with 0 changes to 0 files
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1179 new changesets e600b80a2fc8:0f376356904f
4140
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1180 (run 'hg update' to get a working copy)
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1181
4134
ab77f37fedf3 pullbundle: add a config option for the cache directory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4133
diff changeset
1182 Test cache setting
ab77f37fedf3 pullbundle: add a config option for the cache directory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4133
diff changeset
1183 ==================
ab77f37fedf3 pullbundle: add a config option for the cache directory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4133
diff changeset
1184
ab77f37fedf3 pullbundle: add a config option for the cache directory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4133
diff changeset
1185 cache directory
ab77f37fedf3 pullbundle: add a config option for the cache directory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4133
diff changeset
1186 ---------------
ab77f37fedf3 pullbundle: add a config option for the cache directory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4133
diff changeset
1187
ab77f37fedf3 pullbundle: add a config option for the cache directory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4133
diff changeset
1188 $ mkdir bundle-cache
ab77f37fedf3 pullbundle: add a config option for the cache directory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4133
diff changeset
1189 $ cat << EOF >> $HGRCPATH
ab77f37fedf3 pullbundle: add a config option for the cache directory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4133
diff changeset
1190 > [pullbundle]
ab77f37fedf3 pullbundle: add a config option for the cache directory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4133
diff changeset
1191 > cache-directory=$TESTTMP/bundle-cache
ab77f37fedf3 pullbundle: add a config option for the cache directory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4133
diff changeset
1192 > EOF
ab77f37fedf3 pullbundle: add a config option for the cache directory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4133
diff changeset
1193
4140
9b71aa222f8e pullbundle: issue local branches in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4138
diff changeset
1194 $ hg clone --pull server other-cache-directory
4134
ab77f37fedf3 pullbundle: add a config option for the cache directory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4133
diff changeset
1195 requesting all changes
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1196 pullbundle-cache: "missing" set sliced into 16 subranges in *.* seconds (glob)
4134
ab77f37fedf3 pullbundle: add a config option for the cache directory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4133
diff changeset
1197 adding changesets
ab77f37fedf3 pullbundle: add a config option for the cache directory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4133
diff changeset
1198 adding manifests
ab77f37fedf3 pullbundle: add a config option for the cache directory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4133
diff changeset
1199 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
1200 added 1024 changesets with 0 changes to 0 files
4134
ab77f37fedf3 pullbundle: add a config option for the cache directory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4133
diff changeset
1201 adding changesets
ab77f37fedf3 pullbundle: add a config option for the cache directory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4133
diff changeset
1202 adding manifests
ab77f37fedf3 pullbundle: add a config option for the cache directory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4133
diff changeset
1203 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
1204 added 256 changesets with 0 changes to 0 files
4134
ab77f37fedf3 pullbundle: add a config option for the cache directory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4133
diff changeset
1205 adding changesets
ab77f37fedf3 pullbundle: add a config option for the cache directory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4133
diff changeset
1206 adding manifests
ab77f37fedf3 pullbundle: add a config option for the cache directory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4133
diff changeset
1207 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
1208 added 128 changesets with 0 changes to 0 files
4134
ab77f37fedf3 pullbundle: add a config option for the cache directory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4133
diff changeset
1209 adding changesets
ab77f37fedf3 pullbundle: add a config option for the cache directory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4133
diff changeset
1210 adding manifests
ab77f37fedf3 pullbundle: add a config option for the cache directory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4133
diff changeset
1211 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
1212 added 64 changesets with 0 changes to 0 files
4134
ab77f37fedf3 pullbundle: add a config option for the cache directory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4133
diff changeset
1213 adding changesets
ab77f37fedf3 pullbundle: add a config option for the cache directory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4133
diff changeset
1214 adding manifests
ab77f37fedf3 pullbundle: add a config option for the cache directory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4133
diff changeset
1215 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
1216 added 32 changesets with 0 changes to 0 files
4134
ab77f37fedf3 pullbundle: add a config option for the cache directory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4133
diff changeset
1217 adding changesets
ab77f37fedf3 pullbundle: add a config option for the cache directory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4133
diff changeset
1218 adding manifests
ab77f37fedf3 pullbundle: add a config option for the cache directory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4133
diff changeset
1219 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
1220 added 8 changesets with 0 changes to 0 files
4134
ab77f37fedf3 pullbundle: add a config option for the cache directory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4133
diff changeset
1221 adding changesets
ab77f37fedf3 pullbundle: add a config option for the cache directory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4133
diff changeset
1222 adding manifests
ab77f37fedf3 pullbundle: add a config option for the cache directory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4133
diff changeset
1223 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
1224 added 4 changesets with 0 changes to 0 files
4134
ab77f37fedf3 pullbundle: add a config option for the cache directory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4133
diff changeset
1225 adding changesets
ab77f37fedf3 pullbundle: add a config option for the cache directory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4133
diff changeset
1226 adding manifests
ab77f37fedf3 pullbundle: add a config option for the cache directory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4133
diff changeset
1227 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
1228 added 2 changesets with 0 changes to 0 files
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1229 adding changesets
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1230 adding manifests
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1231 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
1232 added 1 changesets with 0 changes to 0 files (+1 heads)
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1233 adding changesets
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1234 adding manifests
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1235 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
1236 added 4 changesets with 0 changes to 0 files
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1237 adding changesets
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1238 adding manifests
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1239 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
1240 added 8 changesets with 0 changes to 0 files
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1241 adding changesets
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1242 adding manifests
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1243 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
1244 added 16 changesets with 0 changes to 0 files
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1245 adding changesets
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1246 adding manifests
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1247 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
1248 added 256 changesets with 0 changes to 0 files
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1249 adding changesets
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1250 adding manifests
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1251 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
1252 added 256 changesets with 0 changes to 0 files
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1253 adding changesets
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1254 adding manifests
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1255 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
1256 added 64 changesets with 0 changes to 0 files
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1257 adding changesets
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1258 adding manifests
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1259 adding file changes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4871
diff changeset
1260 added 8 changesets with 0 changes to 0 files
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1261 new changesets 1ea73414a91b:0f376356904f
4134
ab77f37fedf3 pullbundle: add a config option for the cache directory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4133
diff changeset
1262 updating to branch default
ab77f37fedf3 pullbundle: add a config option for the cache directory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4133
diff changeset
1263 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
ab77f37fedf3 pullbundle: add a config option for the cache directory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4133
diff changeset
1264
ab77f37fedf3 pullbundle: add a config option for the cache directory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4133
diff changeset
1265 $ ls -1 bundle-cache
ab77f37fedf3 pullbundle: add a config option for the cache directory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4133
diff changeset
1266 02-0f376356904fc8c1c6ceaac27990f2fd79b1f8c1-0000001856skip-0000000008size.hg
ab77f37fedf3 pullbundle: add a config option for the cache directory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4133
diff changeset
1267 02-1dded5aafa0f8d548f6357cc2f8882dcc4489fbf-0000001516skip-0000000002size.hg
ab77f37fedf3 pullbundle: add a config option for the cache directory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4133
diff changeset
1268 02-2dc4f1ab9029719714b8e0dde8e3725a5bb28472-0000001408skip-0000000064size.hg
ab77f37fedf3 pullbundle: add a config option for the cache directory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4133
diff changeset
1269 02-2f0e261a08964bc1c607c0eda4978364c22a9b94-0000001504skip-0000000008size.hg
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1270 02-4a6d0f7d07d060b026d9fc690cd89cd26af96e42-0000001024skip-0000000256size.hg
4134
ab77f37fedf3 pullbundle: add a config option for the cache directory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4133
diff changeset
1271 02-540f762640ee62ca597ece26af725e6357e82805-0000000000skip-0000001024size.hg
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1272 02-89fab188d2ce3c4cde6be031f2fc5b9b4ff248e3-0000000900skip-0000000004size.hg
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1273 02-97ede4832194ed56894374f2a1cc7a0022b486da-0000000904skip-0000000008size.hg
4134
ab77f37fedf3 pullbundle: add a config option for the cache directory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4133
diff changeset
1274 02-b2d350c94c26edbb783aaa21fc24f1fc65c30e74-0000001536skip-0000000256size.hg
ab77f37fedf3 pullbundle: add a config option for the cache directory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4133
diff changeset
1275 02-bbd293bd171fd5b711d428db46940a72eca7a40f-0000001280skip-0000000128size.hg
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1276 02-c72277ff25807eb444fa48a60afb434d78c21f2f-0000000899skip-0000000001size.hg
4134
ab77f37fedf3 pullbundle: add a config option for the cache directory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4133
diff changeset
1277 02-da87a81c5310760f414a933e6550b7e8e60cf241-0000001792skip-0000000064size.hg
ab77f37fedf3 pullbundle: add a config option for the cache directory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4133
diff changeset
1278 02-dba2fddbf3c28198659046674a512afd616a1519-0000001472skip-0000000032size.hg
4147
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1279 02-e469a7aa5cce57653b6b02ff46c80b2d94d62629-0000000912skip-0000000016size.hg
88e922eca4e2 pullbundle: deal with head in a predicable order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4140
diff changeset
1280 02-e74670ea99533967c5d90da3ddbc0318cc1fd502-0000001280skip-0000000256size.hg
4134
ab77f37fedf3 pullbundle: add a config option for the cache directory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4133
diff changeset
1281 02-fb6c210a224903e81e5a8d2ee099cb0c9526ba8c-0000001512skip-0000000004size.hg
5045
c9b25b1d6a61 tests: test that debugpullbundlecacheoverlap command works
Anton Shestakov <av6@dwimlabs.net>
parents: 4871
diff changeset
1282
c9b25b1d6a61 tests: test that debugpullbundlecacheoverlap command works
Anton Shestakov <av6@dwimlabs.net>
parents: 4871
diff changeset
1283 $ hg debugpullbundlecacheoverlap -R server 'all()' | grep -v '^ '
c9b25b1d6a61 tests: test that debugpullbundlecacheoverlap command works
Anton Shestakov <av6@dwimlabs.net>
parents: 4871
diff changeset
1284 gathering 100 sample pulls within 2131 revisions
c9b25b1d6a61 tests: test that debugpullbundlecacheoverlap command works
Anton Shestakov <av6@dwimlabs.net>
parents: 4871
diff changeset
1285 pull size:
c9b25b1d6a61 tests: test that debugpullbundlecacheoverlap command works
Anton Shestakov <av6@dwimlabs.net>
parents: 4871
diff changeset
1286 non-cached changesets:
c9b25b1d6a61 tests: test that debugpullbundlecacheoverlap command works
Anton Shestakov <av6@dwimlabs.net>
parents: 4871
diff changeset
1287 ratio of cached changesets:
c9b25b1d6a61 tests: test that debugpullbundlecacheoverlap command works
Anton Shestakov <av6@dwimlabs.net>
parents: 4871
diff changeset
1288 bundle count:
c9b25b1d6a61 tests: test that debugpullbundlecacheoverlap command works
Anton Shestakov <av6@dwimlabs.net>
parents: 4871
diff changeset
1289 ratio of cached bundles:
c9b25b1d6a61 tests: test that debugpullbundlecacheoverlap command works
Anton Shestakov <av6@dwimlabs.net>
parents: 4871
diff changeset
1290 changesets served:
c9b25b1d6a61 tests: test that debugpullbundlecacheoverlap command works
Anton Shestakov <av6@dwimlabs.net>
parents: 4871
diff changeset
1291 size of cached bundles:
c9b25b1d6a61 tests: test that debugpullbundlecacheoverlap command works
Anton Shestakov <av6@dwimlabs.net>
parents: 4871
diff changeset
1292 hit on cached bundles: