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