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