tests/test-bundle-type.t
author Raphaël Gomès <rgomes@octobus.net>
Wed, 23 Oct 2024 13:49:54 +0200
branchstable
changeset 52030 d906406658a9
parent 51562 eac84af0c8cc
permissions -rw-r--r--
patchbomb: don't test ambiguous address This is a bug in Python's `email` package and shouldn't be relied on. Python 3.12 has fixed this problemĀ¹ and raises an exception. We keep the multiple `-t` because this is still relevant for testing. [1] https://github.com/python/cpython/issues/102988 [2] https://docs.python.org/3/whatsnew/changelog.html
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
11872
bc436a97038b tests: unify test-bundle-type
Martin Geisler <mg@lazybytes.net>
parents: 7171
diff changeset
     1
bundle w/o type option
bc436a97038b tests: unify test-bundle-type
Martin Geisler <mg@lazybytes.net>
parents: 7171
diff changeset
     2
bc436a97038b tests: unify test-bundle-type
Martin Geisler <mg@lazybytes.net>
parents: 7171
diff changeset
     3
  $ hg init t1
bc436a97038b tests: unify test-bundle-type
Martin Geisler <mg@lazybytes.net>
parents: 7171
diff changeset
     4
  $ hg init t2
bc436a97038b tests: unify test-bundle-type
Martin Geisler <mg@lazybytes.net>
parents: 7171
diff changeset
     5
  $ cd t1
bc436a97038b tests: unify test-bundle-type
Martin Geisler <mg@lazybytes.net>
parents: 7171
diff changeset
     6
  $ echo blablablablabla > file.txt
50388
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
     7
  $ hg ci -A -m commit_root
11872
bc436a97038b tests: unify test-bundle-type
Martin Geisler <mg@lazybytes.net>
parents: 7171
diff changeset
     8
  adding file.txt
50388
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
     9
  $ echo kapoue > file.txt
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
    10
  $ hg ci -m commit_1
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
    11
  $ echo scrabageul > file.txt
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
    12
  $ hg ci -m commit_2
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
    13
  $ hg up 'desc("commit_root")'
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
    14
  1 files updated, 0 files merged, 0 files removed, 0 files unresolved
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
    15
  $ echo flagabalagla > file.txt
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
    16
  $ hg ci -m commit_3
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
    17
  created new head
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
    18
  $ echo aliofia > file.txt
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
    19
  $ hg ci -m commit_4
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
    20
  $ echo alklqo > file.txt
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
    21
  $ hg ci -m commit_5
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
    22
  $ echo peakfeo > file.txt
50389
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
    23
  $ hg ci -m commit_6 --secret
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
    24
  $ hg phase --public --rev 'desc(commit_3)'
50388
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
    25
  $ hg log -GT '[{phase}] {desc|firstline}\n'
50389
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
    26
  @  [secret] commit_6
50388
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
    27
  |
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
    28
  o  [draft] commit_5
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
    29
  |
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
    30
  o  [draft] commit_4
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
    31
  |
50389
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
    32
  o  [public] commit_3
50388
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
    33
  |
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
    34
  | o  [draft] commit_2
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
    35
  | |
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
    36
  | o  [draft] commit_1
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
    37
  |/
50389
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
    38
  o  [public] commit_root
50388
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
    39
  
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
    40
50389
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
    41
XXX the bundle generation is defined by a discovery round here. So the secret
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
    42
changeset should be excluded.
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
    43
50388
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
    44
  $ hg bundle ../b1.hg ../t2
11872
bc436a97038b tests: unify test-bundle-type
Martin Geisler <mg@lazybytes.net>
parents: 7171
diff changeset
    45
  searching for changes
50389
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
    46
  7 changesets found (known-bad-output !)
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
    47
  6 changesets found (missing-correct-output !)
50388
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
    48
  $ cd ..
6570
626cb86a6523 add compression type type parameter to bundle command
Benoit Allard <benoit@aeteurope.nl>
parents:
diff changeset
    49
50388
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
    50
  $ hg -R t2 unbundle ./b1.hg
11872
bc436a97038b tests: unify test-bundle-type
Martin Geisler <mg@lazybytes.net>
parents: 7171
diff changeset
    51
  adding changesets
bc436a97038b tests: unify test-bundle-type
Martin Geisler <mg@lazybytes.net>
parents: 7171
diff changeset
    52
  adding manifests
bc436a97038b tests: unify test-bundle-type
Martin Geisler <mg@lazybytes.net>
parents: 7171
diff changeset
    53
  adding file changes
50389
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
    54
  added 7 changesets with 7 changes to 1 files (+1 heads) (known-bad-output !)
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
    55
  added 6 changesets with 6 changes to 1 files (+1 heads) (missing-correct-output !)
50388
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
    56
  new changesets ac39af4a9f7d:b9f5f740a8cd (7 drafts)
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
    57
  (run 'hg heads' to see heads, 'hg merge' to merge)
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
    58
  $ hg -R t2 up
11872
bc436a97038b tests: unify test-bundle-type
Martin Geisler <mg@lazybytes.net>
parents: 7171
diff changeset
    59
  1 files updated, 0 files merged, 0 files removed, 0 files unresolved
50388
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
    60
  updated to "b9f5f740a8cd: commit_6"
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
    61
  1 other heads for branch "default"
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
    62
  $ hg -R t2 log -GT '[{phase}] {desc|firstline}\n'
50389
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
    63
  @  [draft] commit_6 (known-bad-output !)
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
    64
  | (known-bad-output !)
50388
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
    65
  o  [draft] commit_5
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
    66
  |
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
    67
  o  [draft] commit_4
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
    68
  |
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
    69
  o  [draft] commit_3
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
    70
  |
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
    71
  | o  [draft] commit_2
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
    72
  | |
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
    73
  | o  [draft] commit_1
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
    74
  |/
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
    75
  o  [draft] commit_root
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
    76
  
6570
626cb86a6523 add compression type type parameter to bundle command
Benoit Allard <benoit@aeteurope.nl>
parents:
diff changeset
    77
31473
ffed3bf5cd4c exchange: reject new compression engines for v1 bundles (issue5506)
Gregory Szorc <gregory.szorc@gmail.com>
parents: 30758
diff changeset
    78
Unknown compression type is rejected
ffed3bf5cd4c exchange: reject new compression engines for v1 bundles (issue5506)
Gregory Szorc <gregory.szorc@gmail.com>
parents: 30758
diff changeset
    79
ffed3bf5cd4c exchange: reject new compression engines for v1 bundles (issue5506)
Gregory Szorc <gregory.szorc@gmail.com>
parents: 30758
diff changeset
    80
  $ hg init t3
50388
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
    81
  $ hg -R t3 -q unbundle ./b1.hg
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
    82
  $ hg -R t3 bundle -a -t unknown out.hg
31473
ffed3bf5cd4c exchange: reject new compression engines for v1 bundles (issue5506)
Gregory Szorc <gregory.szorc@gmail.com>
parents: 30758
diff changeset
    83
  abort: unknown is not a recognized bundle specification
31794
54b1af732415 commands: update help for "bundle"
Gregory Szorc <gregory.szorc@gmail.com>
parents: 31474
diff changeset
    84
  (see 'hg help bundlespec' for supported values for --type)
45827
8d72e29ad1e0 errors: introduce InputError and use it from commands and cmdutil
Martin von Zweigbergk <martinvonz@google.com>
parents: 39480
diff changeset
    85
  [10]
31473
ffed3bf5cd4c exchange: reject new compression engines for v1 bundles (issue5506)
Gregory Szorc <gregory.szorc@gmail.com>
parents: 30758
diff changeset
    86
50388
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
    87
  $ hg -R t3 bundle -a -t unknown-v2 out.hg
31473
ffed3bf5cd4c exchange: reject new compression engines for v1 bundles (issue5506)
Gregory Szorc <gregory.szorc@gmail.com>
parents: 30758
diff changeset
    88
  abort: unknown compression is not supported
31794
54b1af732415 commands: update help for "bundle"
Gregory Szorc <gregory.szorc@gmail.com>
parents: 31474
diff changeset
    89
  (see 'hg help bundlespec' for supported values for --type)
45827
8d72e29ad1e0 errors: introduce InputError and use it from commands and cmdutil
Martin von Zweigbergk <martinvonz@google.com>
parents: 39480
diff changeset
    90
  [10]
31473
ffed3bf5cd4c exchange: reject new compression engines for v1 bundles (issue5506)
Gregory Szorc <gregory.szorc@gmail.com>
parents: 30758
diff changeset
    91
11872
bc436a97038b tests: unify test-bundle-type
Martin Geisler <mg@lazybytes.net>
parents: 7171
diff changeset
    92
test bundle types
50389
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
    93
=================
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
    94
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
    95
since we use --all, it is okay to include the secret changeset here. It is
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
    96
unfortunate that the phase information for the secret one is lost.
6570
626cb86a6523 add compression type type parameter to bundle command
Benoit Allard <benoit@aeteurope.nl>
parents:
diff changeset
    97
30442
41a8106789ca util: implement zstd compression engine
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29971
diff changeset
    98
  $ testbundle() {
41a8106789ca util: implement zstd compression engine
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29971
diff changeset
    99
  >   echo % test bundle type $1
50389
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   100
  >   echo '==================================='
50388
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   101
  >   hg -R t1 bundle --all --type $1 ./b-$1.hg
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   102
  >   f -q -B6 -D ./b-$1.hg; echo
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   103
  >   hg debugbundle ./b-$1.hg
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   104
  >   hg debugbundle --spec ./b-$1.hg
26511
bb3d961c1648 test-bundle-type: replace unbundle with debugbundle
Pierre-Yves David <pierre-yves.david@fb.com>
parents: 24138
diff changeset
   105
  >   echo
50389
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   106
  >   hg init repo-from-type-$1
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   107
  >   hg unbundle -R repo-from-type-$1 ./b-$1.hg
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   108
  >   hg -R repo-from-type-$1 log -GT '[{phase}] {desc|firstline}\n'
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   109
  >   echo
30442
41a8106789ca util: implement zstd compression engine
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29971
diff changeset
   110
  > }
41a8106789ca util: implement zstd compression engine
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29971
diff changeset
   111
50390
d68462736492 bundle: introduce a "v3" spec
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50389
diff changeset
   112
  $ for t in "None" "bzip2" "gzip" "none-v2" "v2" "v1" "gzip-v1" "v3"; do
30442
41a8106789ca util: implement zstd compression engine
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29971
diff changeset
   113
  >   testbundle $t
11872
bc436a97038b tests: unify test-bundle-type
Martin Geisler <mg@lazybytes.net>
parents: 7171
diff changeset
   114
  > done
bc436a97038b tests: unify test-bundle-type
Martin Geisler <mg@lazybytes.net>
parents: 7171
diff changeset
   115
  % test bundle type None
50389
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   116
  ===================================
50388
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   117
  7 changesets found
26925
d8270223a026 test: use generaldelta in 'test-bundle-type.t'
Pierre-Yves David <pierre-yves.david@fb.com>
parents: 26905
diff changeset
   118
  HG20\x00\x00 (esc)
d8270223a026 test: use generaldelta in 'test-bundle-type.t'
Pierre-Yves David <pierre-yves.david@fb.com>
parents: 26905
diff changeset
   119
  Stream params: {}
50388
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   120
  changegroup -- {nbchanges: 7, version: 02} (mandatory: True)
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   121
      ac39af4a9f7d2aaa7d244720e57838be9bf63b03
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   122
      901e97fadc587978ec52f2fa76af4aefc2d191e8
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   123
      a8c3a1ed30eb71f03f476c5fa7ead831ef991a55
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   124
      66e2c4b43e0cf8f0bdff0733a0b97ce57874e35d
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   125
      624e609639853fe22c88d42a8fd1f53a0e9b7ebe
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   126
      2ea90778052ba7558fab36e3fd5d149512ff986b
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   127
      b9f5f740a8cd76700020e3903ee55ecff78bd3e5
37842
326b174c6a47 bundle2: mark the bundle2 part as advisory (issue5872)
Boris Feld <boris.feld@octobus.net>
parents: 37841
diff changeset
   128
  cache:rev-branch-cache -- {} (mandatory: False)
27885
2370c66110cb commands: teach debugbundle to print bundle specification
Gregory Szorc <gregory.szorc@gmail.com>
parents: 26925
diff changeset
   129
  none-v2
26511
bb3d961c1648 test-bundle-type: replace unbundle with debugbundle
Pierre-Yves David <pierre-yves.david@fb.com>
parents: 24138
diff changeset
   130
  
50389
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   131
  adding changesets
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   132
  adding manifests
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   133
  adding file changes
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   134
  added 7 changesets with 7 changes to 1 files (+1 heads)
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   135
  new changesets ac39af4a9f7d:b9f5f740a8cd (7 drafts)
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   136
  (run 'hg heads' to see heads, 'hg merge' to merge)
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   137
  o  [draft] commit_6
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   138
  |
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   139
  o  [draft] commit_5
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   140
  |
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   141
  o  [draft] commit_4
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   142
  |
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   143
  o  [draft] commit_3
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   144
  |
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   145
  | o  [draft] commit_2
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   146
  | |
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   147
  | o  [draft] commit_1
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   148
  |/
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   149
  o  [draft] commit_root
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   150
  
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   151
  
11872
bc436a97038b tests: unify test-bundle-type
Martin Geisler <mg@lazybytes.net>
parents: 7171
diff changeset
   152
  % test bundle type bzip2
50389
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   153
  ===================================
50388
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   154
  7 changesets found
26925
d8270223a026 test: use generaldelta in 'test-bundle-type.t'
Pierre-Yves David <pierre-yves.david@fb.com>
parents: 26905
diff changeset
   155
  HG20\x00\x00 (esc)
34025
626a28f30dbd debugcommands: stabilize output of debugbundle by having a custom repr
Augie Fackler <raf@durin42.com>
parents: 31794
diff changeset
   156
  Stream params: {Compression: BZ}
50388
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   157
  changegroup -- {nbchanges: 7, version: 02} (mandatory: True)
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   158
      ac39af4a9f7d2aaa7d244720e57838be9bf63b03
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   159
      901e97fadc587978ec52f2fa76af4aefc2d191e8
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   160
      a8c3a1ed30eb71f03f476c5fa7ead831ef991a55
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   161
      66e2c4b43e0cf8f0bdff0733a0b97ce57874e35d
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   162
      624e609639853fe22c88d42a8fd1f53a0e9b7ebe
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   163
      2ea90778052ba7558fab36e3fd5d149512ff986b
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   164
      b9f5f740a8cd76700020e3903ee55ecff78bd3e5
37842
326b174c6a47 bundle2: mark the bundle2 part as advisory (issue5872)
Boris Feld <boris.feld@octobus.net>
parents: 37841
diff changeset
   165
  cache:rev-branch-cache -- {} (mandatory: False)
27885
2370c66110cb commands: teach debugbundle to print bundle specification
Gregory Szorc <gregory.szorc@gmail.com>
parents: 26925
diff changeset
   166
  bzip2-v2
26511
bb3d961c1648 test-bundle-type: replace unbundle with debugbundle
Pierre-Yves David <pierre-yves.david@fb.com>
parents: 24138
diff changeset
   167
  
50389
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   168
  adding changesets
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   169
  adding manifests
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   170
  adding file changes
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   171
  added 7 changesets with 7 changes to 1 files (+1 heads)
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   172
  new changesets ac39af4a9f7d:b9f5f740a8cd (7 drafts)
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   173
  (run 'hg heads' to see heads, 'hg merge' to merge)
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   174
  o  [draft] commit_6
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   175
  |
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   176
  o  [draft] commit_5
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   177
  |
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   178
  o  [draft] commit_4
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   179
  |
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   180
  o  [draft] commit_3
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   181
  |
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   182
  | o  [draft] commit_2
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   183
  | |
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   184
  | o  [draft] commit_1
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   185
  |/
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   186
  o  [draft] commit_root
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   187
  
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   188
  
11872
bc436a97038b tests: unify test-bundle-type
Martin Geisler <mg@lazybytes.net>
parents: 7171
diff changeset
   189
  % test bundle type gzip
50389
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   190
  ===================================
50388
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   191
  7 changesets found
26925
d8270223a026 test: use generaldelta in 'test-bundle-type.t'
Pierre-Yves David <pierre-yves.david@fb.com>
parents: 26905
diff changeset
   192
  HG20\x00\x00 (esc)
34025
626a28f30dbd debugcommands: stabilize output of debugbundle by having a custom repr
Augie Fackler <raf@durin42.com>
parents: 31794
diff changeset
   193
  Stream params: {Compression: GZ}
50388
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   194
  changegroup -- {nbchanges: 7, version: 02} (mandatory: True)
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   195
      ac39af4a9f7d2aaa7d244720e57838be9bf63b03
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   196
      901e97fadc587978ec52f2fa76af4aefc2d191e8
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   197
      a8c3a1ed30eb71f03f476c5fa7ead831ef991a55
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   198
      66e2c4b43e0cf8f0bdff0733a0b97ce57874e35d
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   199
      624e609639853fe22c88d42a8fd1f53a0e9b7ebe
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   200
      2ea90778052ba7558fab36e3fd5d149512ff986b
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   201
      b9f5f740a8cd76700020e3903ee55ecff78bd3e5
37842
326b174c6a47 bundle2: mark the bundle2 part as advisory (issue5872)
Boris Feld <boris.feld@octobus.net>
parents: 37841
diff changeset
   202
  cache:rev-branch-cache -- {} (mandatory: False)
27885
2370c66110cb commands: teach debugbundle to print bundle specification
Gregory Szorc <gregory.szorc@gmail.com>
parents: 26925
diff changeset
   203
  gzip-v2
26511
bb3d961c1648 test-bundle-type: replace unbundle with debugbundle
Pierre-Yves David <pierre-yves.david@fb.com>
parents: 24138
diff changeset
   204
  
50389
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   205
  adding changesets
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   206
  adding manifests
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   207
  adding file changes
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   208
  added 7 changesets with 7 changes to 1 files (+1 heads)
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   209
  new changesets ac39af4a9f7d:b9f5f740a8cd (7 drafts)
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   210
  (run 'hg heads' to see heads, 'hg merge' to merge)
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   211
  o  [draft] commit_6
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   212
  |
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   213
  o  [draft] commit_5
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   214
  |
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   215
  o  [draft] commit_4
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   216
  |
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   217
  o  [draft] commit_3
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   218
  |
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   219
  | o  [draft] commit_2
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   220
  | |
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   221
  | o  [draft] commit_1
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   222
  |/
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   223
  o  [draft] commit_root
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   224
  
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   225
  
26531
15ce78517d4b bundle: extend the format of --type to support version and compression
Pierre-Yves David <pierre-yves.david@fb.com>
parents: 26511
diff changeset
   226
  % test bundle type none-v2
50389
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   227
  ===================================
50388
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   228
  7 changesets found
26531
15ce78517d4b bundle: extend the format of --type to support version and compression
Pierre-Yves David <pierre-yves.david@fb.com>
parents: 26511
diff changeset
   229
  HG20\x00\x00 (esc)
15ce78517d4b bundle: extend the format of --type to support version and compression
Pierre-Yves David <pierre-yves.david@fb.com>
parents: 26511
diff changeset
   230
  Stream params: {}
50388
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   231
  changegroup -- {nbchanges: 7, version: 02} (mandatory: True)
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   232
      ac39af4a9f7d2aaa7d244720e57838be9bf63b03
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   233
      901e97fadc587978ec52f2fa76af4aefc2d191e8
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   234
      a8c3a1ed30eb71f03f476c5fa7ead831ef991a55
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   235
      66e2c4b43e0cf8f0bdff0733a0b97ce57874e35d
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   236
      624e609639853fe22c88d42a8fd1f53a0e9b7ebe
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   237
      2ea90778052ba7558fab36e3fd5d149512ff986b
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   238
      b9f5f740a8cd76700020e3903ee55ecff78bd3e5
37842
326b174c6a47 bundle2: mark the bundle2 part as advisory (issue5872)
Boris Feld <boris.feld@octobus.net>
parents: 37841
diff changeset
   239
  cache:rev-branch-cache -- {} (mandatory: False)
27885
2370c66110cb commands: teach debugbundle to print bundle specification
Gregory Szorc <gregory.szorc@gmail.com>
parents: 26925
diff changeset
   240
  none-v2
26531
15ce78517d4b bundle: extend the format of --type to support version and compression
Pierre-Yves David <pierre-yves.david@fb.com>
parents: 26511
diff changeset
   241
  
50389
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   242
  adding changesets
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   243
  adding manifests
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   244
  adding file changes
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   245
  added 7 changesets with 7 changes to 1 files (+1 heads)
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   246
  new changesets ac39af4a9f7d:b9f5f740a8cd (7 drafts)
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   247
  (run 'hg heads' to see heads, 'hg merge' to merge)
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   248
  o  [draft] commit_6
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   249
  |
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   250
  o  [draft] commit_5
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   251
  |
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   252
  o  [draft] commit_4
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   253
  |
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   254
  o  [draft] commit_3
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   255
  |
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   256
  | o  [draft] commit_2
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   257
  | |
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   258
  | o  [draft] commit_1
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   259
  |/
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   260
  o  [draft] commit_root
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   261
  
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   262
  
26531
15ce78517d4b bundle: extend the format of --type to support version and compression
Pierre-Yves David <pierre-yves.david@fb.com>
parents: 26511
diff changeset
   263
  % test bundle type v2
50389
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   264
  ===================================
50388
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   265
  7 changesets found
26531
15ce78517d4b bundle: extend the format of --type to support version and compression
Pierre-Yves David <pierre-yves.david@fb.com>
parents: 26511
diff changeset
   266
  HG20\x00\x00 (esc)
34025
626a28f30dbd debugcommands: stabilize output of debugbundle by having a custom repr
Augie Fackler <raf@durin42.com>
parents: 31794
diff changeset
   267
  Stream params: {Compression: BZ}
50388
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   268
  changegroup -- {nbchanges: 7, version: 02} (mandatory: True)
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   269
      ac39af4a9f7d2aaa7d244720e57838be9bf63b03
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   270
      901e97fadc587978ec52f2fa76af4aefc2d191e8
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   271
      a8c3a1ed30eb71f03f476c5fa7ead831ef991a55
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   272
      66e2c4b43e0cf8f0bdff0733a0b97ce57874e35d
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   273
      624e609639853fe22c88d42a8fd1f53a0e9b7ebe
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   274
      2ea90778052ba7558fab36e3fd5d149512ff986b
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   275
      b9f5f740a8cd76700020e3903ee55ecff78bd3e5
37842
326b174c6a47 bundle2: mark the bundle2 part as advisory (issue5872)
Boris Feld <boris.feld@octobus.net>
parents: 37841
diff changeset
   276
  cache:rev-branch-cache -- {} (mandatory: False)
27885
2370c66110cb commands: teach debugbundle to print bundle specification
Gregory Szorc <gregory.szorc@gmail.com>
parents: 26925
diff changeset
   277
  bzip2-v2
26531
15ce78517d4b bundle: extend the format of --type to support version and compression
Pierre-Yves David <pierre-yves.david@fb.com>
parents: 26511
diff changeset
   278
  
50389
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   279
  adding changesets
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   280
  adding manifests
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   281
  adding file changes
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   282
  added 7 changesets with 7 changes to 1 files (+1 heads)
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   283
  new changesets ac39af4a9f7d:b9f5f740a8cd (7 drafts)
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   284
  (run 'hg heads' to see heads, 'hg merge' to merge)
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   285
  o  [draft] commit_6
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   286
  |
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   287
  o  [draft] commit_5
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   288
  |
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   289
  o  [draft] commit_4
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   290
  |
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   291
  o  [draft] commit_3
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   292
  |
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   293
  | o  [draft] commit_2
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   294
  | |
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   295
  | o  [draft] commit_1
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   296
  |/
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   297
  o  [draft] commit_root
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   298
  
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   299
  
26531
15ce78517d4b bundle: extend the format of --type to support version and compression
Pierre-Yves David <pierre-yves.david@fb.com>
parents: 26511
diff changeset
   300
  % test bundle type v1
50389
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   301
  ===================================
50388
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   302
  7 changesets found
26531
15ce78517d4b bundle: extend the format of --type to support version and compression
Pierre-Yves David <pierre-yves.david@fb.com>
parents: 26511
diff changeset
   303
  HG10BZ
50388
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   304
  ac39af4a9f7d2aaa7d244720e57838be9bf63b03
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   305
  901e97fadc587978ec52f2fa76af4aefc2d191e8
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   306
  a8c3a1ed30eb71f03f476c5fa7ead831ef991a55
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   307
  66e2c4b43e0cf8f0bdff0733a0b97ce57874e35d
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   308
  624e609639853fe22c88d42a8fd1f53a0e9b7ebe
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   309
  2ea90778052ba7558fab36e3fd5d149512ff986b
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   310
  b9f5f740a8cd76700020e3903ee55ecff78bd3e5
27885
2370c66110cb commands: teach debugbundle to print bundle specification
Gregory Szorc <gregory.szorc@gmail.com>
parents: 26925
diff changeset
   311
  bzip2-v1
26531
15ce78517d4b bundle: extend the format of --type to support version and compression
Pierre-Yves David <pierre-yves.david@fb.com>
parents: 26511
diff changeset
   312
  
50389
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   313
  adding changesets
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   314
  adding manifests
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   315
  adding file changes
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   316
  added 7 changesets with 7 changes to 1 files (+1 heads)
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   317
  new changesets ac39af4a9f7d:b9f5f740a8cd (7 drafts)
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   318
  (run 'hg heads' to see heads, 'hg merge' to merge)
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   319
  o  [draft] commit_6
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   320
  |
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   321
  o  [draft] commit_5
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   322
  |
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   323
  o  [draft] commit_4
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   324
  |
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   325
  o  [draft] commit_3
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   326
  |
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   327
  | o  [draft] commit_2
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   328
  | |
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   329
  | o  [draft] commit_1
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   330
  |/
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   331
  o  [draft] commit_root
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   332
  
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   333
  
26531
15ce78517d4b bundle: extend the format of --type to support version and compression
Pierre-Yves David <pierre-yves.david@fb.com>
parents: 26511
diff changeset
   334
  % test bundle type gzip-v1
50389
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   335
  ===================================
50388
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   336
  7 changesets found
26531
15ce78517d4b bundle: extend the format of --type to support version and compression
Pierre-Yves David <pierre-yves.david@fb.com>
parents: 26511
diff changeset
   337
  HG10GZ
50388
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   338
  ac39af4a9f7d2aaa7d244720e57838be9bf63b03
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   339
  901e97fadc587978ec52f2fa76af4aefc2d191e8
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   340
  a8c3a1ed30eb71f03f476c5fa7ead831ef991a55
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   341
  66e2c4b43e0cf8f0bdff0733a0b97ce57874e35d
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   342
  624e609639853fe22c88d42a8fd1f53a0e9b7ebe
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   343
  2ea90778052ba7558fab36e3fd5d149512ff986b
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   344
  b9f5f740a8cd76700020e3903ee55ecff78bd3e5
27885
2370c66110cb commands: teach debugbundle to print bundle specification
Gregory Szorc <gregory.szorc@gmail.com>
parents: 26925
diff changeset
   345
  gzip-v1
26531
15ce78517d4b bundle: extend the format of --type to support version and compression
Pierre-Yves David <pierre-yves.david@fb.com>
parents: 26511
diff changeset
   346
  
50389
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   347
  adding changesets
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   348
  adding manifests
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   349
  adding file changes
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   350
  added 7 changesets with 7 changes to 1 files (+1 heads)
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   351
  new changesets ac39af4a9f7d:b9f5f740a8cd (7 drafts)
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   352
  (run 'hg heads' to see heads, 'hg merge' to merge)
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   353
  o  [draft] commit_6
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   354
  |
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   355
  o  [draft] commit_5
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   356
  |
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   357
  o  [draft] commit_4
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   358
  |
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   359
  o  [draft] commit_3
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   360
  |
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   361
  | o  [draft] commit_2
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   362
  | |
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   363
  | o  [draft] commit_1
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   364
  |/
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   365
  o  [draft] commit_root
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   366
  
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   367
  
50390
d68462736492 bundle: introduce a "v3" spec
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50389
diff changeset
   368
  % test bundle type v3
d68462736492 bundle: introduce a "v3" spec
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50389
diff changeset
   369
  ===================================
d68462736492 bundle: introduce a "v3" spec
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50389
diff changeset
   370
  7 changesets found
d68462736492 bundle: introduce a "v3" spec
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50389
diff changeset
   371
  HG20\x00\x00 (esc)
d68462736492 bundle: introduce a "v3" spec
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50389
diff changeset
   372
  Stream params: {Compression: BZ}
d68462736492 bundle: introduce a "v3" spec
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50389
diff changeset
   373
  changegroup -- {nbchanges: 7, targetphase: 2, version: 03} (mandatory: True)
d68462736492 bundle: introduce a "v3" spec
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50389
diff changeset
   374
      ac39af4a9f7d2aaa7d244720e57838be9bf63b03
d68462736492 bundle: introduce a "v3" spec
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50389
diff changeset
   375
      901e97fadc587978ec52f2fa76af4aefc2d191e8
d68462736492 bundle: introduce a "v3" spec
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50389
diff changeset
   376
      a8c3a1ed30eb71f03f476c5fa7ead831ef991a55
d68462736492 bundle: introduce a "v3" spec
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50389
diff changeset
   377
      66e2c4b43e0cf8f0bdff0733a0b97ce57874e35d
d68462736492 bundle: introduce a "v3" spec
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50389
diff changeset
   378
      624e609639853fe22c88d42a8fd1f53a0e9b7ebe
d68462736492 bundle: introduce a "v3" spec
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50389
diff changeset
   379
      2ea90778052ba7558fab36e3fd5d149512ff986b
d68462736492 bundle: introduce a "v3" spec
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50389
diff changeset
   380
      b9f5f740a8cd76700020e3903ee55ecff78bd3e5
d68462736492 bundle: introduce a "v3" spec
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50389
diff changeset
   381
  cache:rev-branch-cache -- {} (mandatory: False)
d68462736492 bundle: introduce a "v3" spec
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50389
diff changeset
   382
  phase-heads -- {} (mandatory: True)
d68462736492 bundle: introduce a "v3" spec
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50389
diff changeset
   383
      66e2c4b43e0cf8f0bdff0733a0b97ce57874e35d public
d68462736492 bundle: introduce a "v3" spec
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50389
diff changeset
   384
      a8c3a1ed30eb71f03f476c5fa7ead831ef991a55 draft
d68462736492 bundle: introduce a "v3" spec
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50389
diff changeset
   385
      2ea90778052ba7558fab36e3fd5d149512ff986b draft
50392
385a4f8056e5 bundle: include required phases when saving a bundle (issue6794)
Jason R. Coombs <jaraco@jaraco.com>, Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50390
diff changeset
   386
      b9f5f740a8cd76700020e3903ee55ecff78bd3e5 secret
50390
d68462736492 bundle: introduce a "v3" spec
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50389
diff changeset
   387
  bzip2-v2;cg.version=03
d68462736492 bundle: introduce a "v3" spec
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50389
diff changeset
   388
  
d68462736492 bundle: introduce a "v3" spec
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50389
diff changeset
   389
  adding changesets
d68462736492 bundle: introduce a "v3" spec
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50389
diff changeset
   390
  adding manifests
d68462736492 bundle: introduce a "v3" spec
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50389
diff changeset
   391
  adding file changes
d68462736492 bundle: introduce a "v3" spec
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50389
diff changeset
   392
  added 7 changesets with 7 changes to 1 files (+1 heads)
d68462736492 bundle: introduce a "v3" spec
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50389
diff changeset
   393
  new changesets ac39af4a9f7d:b9f5f740a8cd (4 drafts, 1 secrets)
d68462736492 bundle: introduce a "v3" spec
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50389
diff changeset
   394
  (run 'hg heads' to see heads, 'hg merge' to merge)
d68462736492 bundle: introduce a "v3" spec
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50389
diff changeset
   395
  o  [secret] commit_6
d68462736492 bundle: introduce a "v3" spec
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50389
diff changeset
   396
  |
d68462736492 bundle: introduce a "v3" spec
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50389
diff changeset
   397
  o  [draft] commit_5
d68462736492 bundle: introduce a "v3" spec
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50389
diff changeset
   398
  |
d68462736492 bundle: introduce a "v3" spec
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50389
diff changeset
   399
  o  [draft] commit_4
d68462736492 bundle: introduce a "v3" spec
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50389
diff changeset
   400
  |
d68462736492 bundle: introduce a "v3" spec
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50389
diff changeset
   401
  o  [public] commit_3
d68462736492 bundle: introduce a "v3" spec
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50389
diff changeset
   402
  |
d68462736492 bundle: introduce a "v3" spec
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50389
diff changeset
   403
  | o  [draft] commit_2
d68462736492 bundle: introduce a "v3" spec
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50389
diff changeset
   404
  | |
d68462736492 bundle: introduce a "v3" spec
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50389
diff changeset
   405
  | o  [draft] commit_1
d68462736492 bundle: introduce a "v3" spec
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50389
diff changeset
   406
  |/
d68462736492 bundle: introduce a "v3" spec
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50389
diff changeset
   407
  o  [public] commit_root
d68462736492 bundle: introduce a "v3" spec
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50389
diff changeset
   408
  
d68462736492 bundle: introduce a "v3" spec
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50389
diff changeset
   409
  
30758
76104a4899ad commands: config option to control bundle compression level
Gregory Szorc <gregory.szorc@gmail.com>
parents: 30442
diff changeset
   410
76104a4899ad commands: config option to control bundle compression level
Gregory Szorc <gregory.szorc@gmail.com>
parents: 30442
diff changeset
   411
Compression level can be adjusted for bundle2 bundles
76104a4899ad commands: config option to control bundle compression level
Gregory Szorc <gregory.szorc@gmail.com>
parents: 30442
diff changeset
   412
76104a4899ad commands: config option to control bundle compression level
Gregory Szorc <gregory.szorc@gmail.com>
parents: 30442
diff changeset
   413
  $ hg init test-complevel
76104a4899ad commands: config option to control bundle compression level
Gregory Szorc <gregory.szorc@gmail.com>
parents: 30442
diff changeset
   414
  $ cd test-complevel
76104a4899ad commands: config option to control bundle compression level
Gregory Szorc <gregory.szorc@gmail.com>
parents: 30442
diff changeset
   415
76104a4899ad commands: config option to control bundle compression level
Gregory Szorc <gregory.szorc@gmail.com>
parents: 30442
diff changeset
   416
  $ cat > file0 << EOF
76104a4899ad commands: config option to control bundle compression level
Gregory Szorc <gregory.szorc@gmail.com>
parents: 30442
diff changeset
   417
  > this is a file
76104a4899ad commands: config option to control bundle compression level
Gregory Szorc <gregory.szorc@gmail.com>
parents: 30442
diff changeset
   418
  > with some text
76104a4899ad commands: config option to control bundle compression level
Gregory Szorc <gregory.szorc@gmail.com>
parents: 30442
diff changeset
   419
  > and some more text
76104a4899ad commands: config option to control bundle compression level
Gregory Szorc <gregory.szorc@gmail.com>
parents: 30442
diff changeset
   420
  > and other content
76104a4899ad commands: config option to control bundle compression level
Gregory Szorc <gregory.szorc@gmail.com>
parents: 30442
diff changeset
   421
  > EOF
76104a4899ad commands: config option to control bundle compression level
Gregory Szorc <gregory.szorc@gmail.com>
parents: 30442
diff changeset
   422
  $ cat > file1 << EOF
76104a4899ad commands: config option to control bundle compression level
Gregory Szorc <gregory.szorc@gmail.com>
parents: 30442
diff changeset
   423
  > this is another file
76104a4899ad commands: config option to control bundle compression level
Gregory Szorc <gregory.szorc@gmail.com>
parents: 30442
diff changeset
   424
  > with some other content
76104a4899ad commands: config option to control bundle compression level
Gregory Szorc <gregory.szorc@gmail.com>
parents: 30442
diff changeset
   425
  > and repeated, repeated, repeated, repeated content
76104a4899ad commands: config option to control bundle compression level
Gregory Szorc <gregory.szorc@gmail.com>
parents: 30442
diff changeset
   426
  > EOF
76104a4899ad commands: config option to control bundle compression level
Gregory Szorc <gregory.szorc@gmail.com>
parents: 30442
diff changeset
   427
  $ hg -q commit -A -m initial
76104a4899ad commands: config option to control bundle compression level
Gregory Szorc <gregory.szorc@gmail.com>
parents: 30442
diff changeset
   428
76104a4899ad commands: config option to control bundle compression level
Gregory Szorc <gregory.szorc@gmail.com>
parents: 30442
diff changeset
   429
  $ hg bundle -a -t gzip-v2 gzip-v2.hg
76104a4899ad commands: config option to control bundle compression level
Gregory Szorc <gregory.szorc@gmail.com>
parents: 30442
diff changeset
   430
  1 changesets found
76104a4899ad commands: config option to control bundle compression level
Gregory Szorc <gregory.szorc@gmail.com>
parents: 30442
diff changeset
   431
  $ f --size gzip-v2.hg
36965
b89a7ef29013 bundle: include advisory rev branch cache part in bundle2 bundle
Boris Feld <boris.feld@octobus.net>
parents: 34661
diff changeset
   432
  gzip-v2.hg: size=468
30758
76104a4899ad commands: config option to control bundle compression level
Gregory Szorc <gregory.szorc@gmail.com>
parents: 30442
diff changeset
   433
76104a4899ad commands: config option to control bundle compression level
Gregory Szorc <gregory.szorc@gmail.com>
parents: 30442
diff changeset
   434
  $ hg --config experimental.bundlecomplevel=1 bundle -a -t gzip-v2 gzip-v2-level1.hg
76104a4899ad commands: config option to control bundle compression level
Gregory Szorc <gregory.szorc@gmail.com>
parents: 30442
diff changeset
   435
  1 changesets found
76104a4899ad commands: config option to control bundle compression level
Gregory Szorc <gregory.szorc@gmail.com>
parents: 30442
diff changeset
   436
  $ f --size gzip-v2-level1.hg
36965
b89a7ef29013 bundle: include advisory rev branch cache part in bundle2 bundle
Boris Feld <boris.feld@octobus.net>
parents: 34661
diff changeset
   437
  gzip-v2-level1.hg: size=475
30758
76104a4899ad commands: config option to control bundle compression level
Gregory Szorc <gregory.szorc@gmail.com>
parents: 30442
diff changeset
   438
37769
6a7ff5816c5f bundle: introduce per-engine compression level
Joerg Sonnenberger <joerg@bec.de>
parents: 37336
diff changeset
   439
  $ hg --config experimental.bundlecomplevel.gzip=1 --config experimental.bundlelevel=9 bundle -a -t gzip-v2 gzip-v2-level1.hg
6a7ff5816c5f bundle: introduce per-engine compression level
Joerg Sonnenberger <joerg@bec.de>
parents: 37336
diff changeset
   440
  1 changesets found
6a7ff5816c5f bundle: introduce per-engine compression level
Joerg Sonnenberger <joerg@bec.de>
parents: 37336
diff changeset
   441
  $ f --size gzip-v2-level1.hg
6a7ff5816c5f bundle: introduce per-engine compression level
Joerg Sonnenberger <joerg@bec.de>
parents: 37336
diff changeset
   442
  gzip-v2-level1.hg: size=475
6a7ff5816c5f bundle: introduce per-engine compression level
Joerg Sonnenberger <joerg@bec.de>
parents: 37336
diff changeset
   443
30758
76104a4899ad commands: config option to control bundle compression level
Gregory Szorc <gregory.szorc@gmail.com>
parents: 30442
diff changeset
   444
  $ cd ..
76104a4899ad commands: config option to control bundle compression level
Gregory Szorc <gregory.szorc@gmail.com>
parents: 30442
diff changeset
   445
30442
41a8106789ca util: implement zstd compression engine
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29971
diff changeset
   446
#if zstd
41a8106789ca util: implement zstd compression engine
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29971
diff changeset
   447
41a8106789ca util: implement zstd compression engine
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29971
diff changeset
   448
  $ for t in "zstd" "zstd-v2"; do
41a8106789ca util: implement zstd compression engine
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29971
diff changeset
   449
  >   testbundle $t
41a8106789ca util: implement zstd compression engine
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29971
diff changeset
   450
  > done
41a8106789ca util: implement zstd compression engine
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29971
diff changeset
   451
  % test bundle type zstd
50389
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   452
  ===================================
50388
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   453
  7 changesets found
30442
41a8106789ca util: implement zstd compression engine
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29971
diff changeset
   454
  HG20\x00\x00 (esc)
34025
626a28f30dbd debugcommands: stabilize output of debugbundle by having a custom repr
Augie Fackler <raf@durin42.com>
parents: 31794
diff changeset
   455
  Stream params: {Compression: ZS}
50388
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   456
  changegroup -- {nbchanges: 7, version: 02} (mandatory: True)
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   457
      ac39af4a9f7d2aaa7d244720e57838be9bf63b03
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   458
      901e97fadc587978ec52f2fa76af4aefc2d191e8
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   459
      a8c3a1ed30eb71f03f476c5fa7ead831ef991a55
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   460
      66e2c4b43e0cf8f0bdff0733a0b97ce57874e35d
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   461
      624e609639853fe22c88d42a8fd1f53a0e9b7ebe
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   462
      2ea90778052ba7558fab36e3fd5d149512ff986b
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   463
      b9f5f740a8cd76700020e3903ee55ecff78bd3e5
37842
326b174c6a47 bundle2: mark the bundle2 part as advisory (issue5872)
Boris Feld <boris.feld@octobus.net>
parents: 37841
diff changeset
   464
  cache:rev-branch-cache -- {} (mandatory: False)
30442
41a8106789ca util: implement zstd compression engine
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29971
diff changeset
   465
  zstd-v2
41a8106789ca util: implement zstd compression engine
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29971
diff changeset
   466
  
50389
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   467
  adding changesets
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   468
  adding manifests
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   469
  adding file changes
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   470
  added 7 changesets with 7 changes to 1 files (+1 heads)
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   471
  new changesets ac39af4a9f7d:b9f5f740a8cd (7 drafts)
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   472
  (run 'hg heads' to see heads, 'hg merge' to merge)
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   473
  o  [draft] commit_6
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   474
  |
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   475
  o  [draft] commit_5
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   476
  |
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   477
  o  [draft] commit_4
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   478
  |
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   479
  o  [draft] commit_3
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   480
  |
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   481
  | o  [draft] commit_2
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   482
  | |
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   483
  | o  [draft] commit_1
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   484
  |/
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   485
  o  [draft] commit_root
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   486
  
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   487
  
30442
41a8106789ca util: implement zstd compression engine
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29971
diff changeset
   488
  % test bundle type zstd-v2
50389
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   489
  ===================================
50388
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   490
  7 changesets found
30442
41a8106789ca util: implement zstd compression engine
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29971
diff changeset
   491
  HG20\x00\x00 (esc)
34025
626a28f30dbd debugcommands: stabilize output of debugbundle by having a custom repr
Augie Fackler <raf@durin42.com>
parents: 31794
diff changeset
   492
  Stream params: {Compression: ZS}
50388
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   493
  changegroup -- {nbchanges: 7, version: 02} (mandatory: True)
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   494
      ac39af4a9f7d2aaa7d244720e57838be9bf63b03
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   495
      901e97fadc587978ec52f2fa76af4aefc2d191e8
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   496
      a8c3a1ed30eb71f03f476c5fa7ead831ef991a55
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   497
      66e2c4b43e0cf8f0bdff0733a0b97ce57874e35d
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   498
      624e609639853fe22c88d42a8fd1f53a0e9b7ebe
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   499
      2ea90778052ba7558fab36e3fd5d149512ff986b
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   500
      b9f5f740a8cd76700020e3903ee55ecff78bd3e5
37842
326b174c6a47 bundle2: mark the bundle2 part as advisory (issue5872)
Boris Feld <boris.feld@octobus.net>
parents: 37841
diff changeset
   501
  cache:rev-branch-cache -- {} (mandatory: False)
30442
41a8106789ca util: implement zstd compression engine
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29971
diff changeset
   502
  zstd-v2
41a8106789ca util: implement zstd compression engine
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29971
diff changeset
   503
  
50389
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   504
  adding changesets
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   505
  adding manifests
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   506
  adding file changes
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   507
  added 7 changesets with 7 changes to 1 files (+1 heads)
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   508
  new changesets ac39af4a9f7d:b9f5f740a8cd (7 drafts)
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   509
  (run 'hg heads' to see heads, 'hg merge' to merge)
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   510
  o  [draft] commit_6
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   511
  |
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   512
  o  [draft] commit_5
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   513
  |
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   514
  o  [draft] commit_4
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   515
  |
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   516
  o  [draft] commit_3
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   517
  |
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   518
  | o  [draft] commit_2
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   519
  | |
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   520
  | o  [draft] commit_1
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   521
  |/
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   522
  o  [draft] commit_root
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   523
  
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   524
  
31473
ffed3bf5cd4c exchange: reject new compression engines for v1 bundles (issue5506)
Gregory Szorc <gregory.szorc@gmail.com>
parents: 30758
diff changeset
   525
ffed3bf5cd4c exchange: reject new compression engines for v1 bundles (issue5506)
Gregory Szorc <gregory.szorc@gmail.com>
parents: 30758
diff changeset
   526
Explicit request for zstd on non-generaldelta repos
ffed3bf5cd4c exchange: reject new compression engines for v1 bundles (issue5506)
Gregory Szorc <gregory.szorc@gmail.com>
parents: 30758
diff changeset
   527
ffed3bf5cd4c exchange: reject new compression engines for v1 bundles (issue5506)
Gregory Szorc <gregory.szorc@gmail.com>
parents: 30758
diff changeset
   528
  $ hg --config format.usegeneraldelta=false init nogd
ffed3bf5cd4c exchange: reject new compression engines for v1 bundles (issue5506)
Gregory Szorc <gregory.szorc@gmail.com>
parents: 30758
diff changeset
   529
  $ hg -q -R nogd pull t1
ffed3bf5cd4c exchange: reject new compression engines for v1 bundles (issue5506)
Gregory Szorc <gregory.szorc@gmail.com>
parents: 30758
diff changeset
   530
  $ hg -R nogd bundle -a -t zstd nogd-zstd
50389
b61e5f763e01 bundle: add some phase boundary in the bundle type test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50388
diff changeset
   531
  6 changesets found
31473
ffed3bf5cd4c exchange: reject new compression engines for v1 bundles (issue5506)
Gregory Szorc <gregory.szorc@gmail.com>
parents: 30758
diff changeset
   532
ffed3bf5cd4c exchange: reject new compression engines for v1 bundles (issue5506)
Gregory Szorc <gregory.szorc@gmail.com>
parents: 30758
diff changeset
   533
zstd-v1 always fails
ffed3bf5cd4c exchange: reject new compression engines for v1 bundles (issue5506)
Gregory Szorc <gregory.szorc@gmail.com>
parents: 30758
diff changeset
   534
50388
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   535
  $ hg -R t1 bundle -a -t zstd-v1 zstd-v1
31473
ffed3bf5cd4c exchange: reject new compression engines for v1 bundles (issue5506)
Gregory Szorc <gregory.szorc@gmail.com>
parents: 30758
diff changeset
   536
  abort: compression engine zstd is not supported on v1 bundles
31794
54b1af732415 commands: update help for "bundle"
Gregory Szorc <gregory.szorc@gmail.com>
parents: 31474
diff changeset
   537
  (see 'hg help bundlespec' for supported values for --type)
45827
8d72e29ad1e0 errors: introduce InputError and use it from commands and cmdutil
Martin von Zweigbergk <martinvonz@google.com>
parents: 39480
diff changeset
   538
  [10]
31473
ffed3bf5cd4c exchange: reject new compression engines for v1 bundles (issue5506)
Gregory Szorc <gregory.szorc@gmail.com>
parents: 30758
diff changeset
   539
46776
471cd86c8eb4 bundle: optional multithreaded compression, ATM zstd-only
Joerg Sonnenberger <joerg@bec.de>
parents: 45827
diff changeset
   540
zstd supports threading
471cd86c8eb4 bundle: optional multithreaded compression, ATM zstd-only
Joerg Sonnenberger <joerg@bec.de>
parents: 45827
diff changeset
   541
471cd86c8eb4 bundle: optional multithreaded compression, ATM zstd-only
Joerg Sonnenberger <joerg@bec.de>
parents: 45827
diff changeset
   542
  $ hg init test-compthreads
471cd86c8eb4 bundle: optional multithreaded compression, ATM zstd-only
Joerg Sonnenberger <joerg@bec.de>
parents: 45827
diff changeset
   543
  $ cd test-compthreads
471cd86c8eb4 bundle: optional multithreaded compression, ATM zstd-only
Joerg Sonnenberger <joerg@bec.de>
parents: 45827
diff changeset
   544
  $ hg debugbuilddag +3
471cd86c8eb4 bundle: optional multithreaded compression, ATM zstd-only
Joerg Sonnenberger <joerg@bec.de>
parents: 45827
diff changeset
   545
  $ hg --config experimental.bundlecompthreads=1 bundle -a -t zstd-v2 zstd-v2-threaded.hg
471cd86c8eb4 bundle: optional multithreaded compression, ATM zstd-only
Joerg Sonnenberger <joerg@bec.de>
parents: 45827
diff changeset
   546
  3 changesets found
471cd86c8eb4 bundle: optional multithreaded compression, ATM zstd-only
Joerg Sonnenberger <joerg@bec.de>
parents: 45827
diff changeset
   547
  $ cd ..
471cd86c8eb4 bundle: optional multithreaded compression, ATM zstd-only
Joerg Sonnenberger <joerg@bec.de>
parents: 45827
diff changeset
   548
30442
41a8106789ca util: implement zstd compression engine
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29971
diff changeset
   549
#else
41a8106789ca util: implement zstd compression engine
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29971
diff changeset
   550
41a8106789ca util: implement zstd compression engine
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29971
diff changeset
   551
zstd is a valid engine but isn't available
41a8106789ca util: implement zstd compression engine
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29971
diff changeset
   552
41a8106789ca util: implement zstd compression engine
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29971
diff changeset
   553
  $ hg -R t1 bundle -a -t zstd irrelevant.hg
41a8106789ca util: implement zstd compression engine
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29971
diff changeset
   554
  abort: compression engine zstd could not be loaded
41a8106789ca util: implement zstd compression engine
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29971
diff changeset
   555
  [255]
41a8106789ca util: implement zstd compression engine
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29971
diff changeset
   556
41a8106789ca util: implement zstd compression engine
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29971
diff changeset
   557
#endif
6570
626cb86a6523 add compression type type parameter to bundle command
Benoit Allard <benoit@aeteurope.nl>
parents:
diff changeset
   558
11872
bc436a97038b tests: unify test-bundle-type
Martin Geisler <mg@lazybytes.net>
parents: 7171
diff changeset
   559
test garbage file
6570
626cb86a6523 add compression type type parameter to bundle command
Benoit Allard <benoit@aeteurope.nl>
parents:
diff changeset
   560
11872
bc436a97038b tests: unify test-bundle-type
Martin Geisler <mg@lazybytes.net>
parents: 7171
diff changeset
   561
  $ echo garbage > bgarbage
bc436a97038b tests: unify test-bundle-type
Martin Geisler <mg@lazybytes.net>
parents: 7171
diff changeset
   562
  $ hg init tgarbage
bc436a97038b tests: unify test-bundle-type
Martin Geisler <mg@lazybytes.net>
parents: 7171
diff changeset
   563
  $ cd tgarbage
bc436a97038b tests: unify test-bundle-type
Martin Geisler <mg@lazybytes.net>
parents: 7171
diff changeset
   564
  $ hg pull ../bgarbage
24138
eabe44ec5af5 pull: print "pulling from foo" before accessing the other repo
Thomas Arendsen Hein <thomas@intevation.de>
parents: 16427
diff changeset
   565
  pulling from ../bgarbage
12044
bcc7139521b7 bundlerepo: remove duplication of bundle decompressors
Matt Mackall <mpm@selenic.com>
parents: 11872
diff changeset
   566
  abort: ../bgarbage: not a Mercurial bundle
12316
4134686b83e1 tests: add exit codes to unified tests
Matt Mackall <mpm@selenic.com>
parents: 12044
diff changeset
   567
  [255]
11872
bc436a97038b tests: unify test-bundle-type
Martin Geisler <mg@lazybytes.net>
parents: 7171
diff changeset
   568
  $ cd ..
bc436a97038b tests: unify test-bundle-type
Martin Geisler <mg@lazybytes.net>
parents: 7171
diff changeset
   569
bc436a97038b tests: unify test-bundle-type
Martin Geisler <mg@lazybytes.net>
parents: 7171
diff changeset
   570
test invalid bundle type
bc436a97038b tests: unify test-bundle-type
Martin Geisler <mg@lazybytes.net>
parents: 7171
diff changeset
   571
bc436a97038b tests: unify test-bundle-type
Martin Geisler <mg@lazybytes.net>
parents: 7171
diff changeset
   572
  $ cd t1
bc436a97038b tests: unify test-bundle-type
Martin Geisler <mg@lazybytes.net>
parents: 7171
diff changeset
   573
  $ hg bundle -a -t garbage ../bgarbage
26640
b13fdcc4e700 exchange: refactor bundle specification parsing
Gregory Szorc <gregory.szorc@gmail.com>
parents: 26595
diff changeset
   574
  abort: garbage is not a recognized bundle specification
31794
54b1af732415 commands: update help for "bundle"
Gregory Szorc <gregory.szorc@gmail.com>
parents: 31474
diff changeset
   575
  (see 'hg help bundlespec' for supported values for --type)
45827
8d72e29ad1e0 errors: introduce InputError and use it from commands and cmdutil
Martin von Zweigbergk <martinvonz@google.com>
parents: 39480
diff changeset
   576
  [10]
11872
bc436a97038b tests: unify test-bundle-type
Martin Geisler <mg@lazybytes.net>
parents: 7171
diff changeset
   577
  $ cd ..
49333
1fd7520e4961 bundlespec: allow the bundle spec to control the bundle version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 46776
diff changeset
   578
1fd7520e4961 bundlespec: allow the bundle spec to control the bundle version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 46776
diff changeset
   579
Test controlling the changegroup version
1fd7520e4961 bundlespec: allow the bundle spec to control the bundle version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 46776
diff changeset
   580
1fd7520e4961 bundlespec: allow the bundle spec to control the bundle version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 46776
diff changeset
   581
  $ hg -R t1 bundle --config experimental.changegroup3=yes -a -t v2 ./v2-cg-default.hg
50388
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   582
  7 changesets found
49333
1fd7520e4961 bundlespec: allow the bundle spec to control the bundle version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 46776
diff changeset
   583
  $ hg debugbundle ./v2-cg-default.hg --part-type changegroup
1fd7520e4961 bundlespec: allow the bundle spec to control the bundle version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 46776
diff changeset
   584
  Stream params: {Compression: BZ}
50388
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   585
  changegroup -- {nbchanges: 7, version: 02} (mandatory: True)
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   586
      ac39af4a9f7d2aaa7d244720e57838be9bf63b03
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   587
      901e97fadc587978ec52f2fa76af4aefc2d191e8
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   588
      a8c3a1ed30eb71f03f476c5fa7ead831ef991a55
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   589
      66e2c4b43e0cf8f0bdff0733a0b97ce57874e35d
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   590
      624e609639853fe22c88d42a8fd1f53a0e9b7ebe
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   591
      2ea90778052ba7558fab36e3fd5d149512ff986b
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   592
      b9f5f740a8cd76700020e3903ee55ecff78bd3e5
49333
1fd7520e4961 bundlespec: allow the bundle spec to control the bundle version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 46776
diff changeset
   593
  $ hg debugbundle ./v2-cg-default.hg --spec
1fd7520e4961 bundlespec: allow the bundle spec to control the bundle version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 46776
diff changeset
   594
  bzip2-v2
1fd7520e4961 bundlespec: allow the bundle spec to control the bundle version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 46776
diff changeset
   595
  $ hg -R t1 bundle --config experimental.changegroup3=yes -a -t 'v2;cg.version=02' ./v2-cg-02.hg
50388
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   596
  7 changesets found
49333
1fd7520e4961 bundlespec: allow the bundle spec to control the bundle version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 46776
diff changeset
   597
  $ hg debugbundle ./v2-cg-02.hg --part-type changegroup
1fd7520e4961 bundlespec: allow the bundle spec to control the bundle version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 46776
diff changeset
   598
  Stream params: {Compression: BZ}
50388
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   599
  changegroup -- {nbchanges: 7, version: 02} (mandatory: True)
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   600
      ac39af4a9f7d2aaa7d244720e57838be9bf63b03
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   601
      901e97fadc587978ec52f2fa76af4aefc2d191e8
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   602
      a8c3a1ed30eb71f03f476c5fa7ead831ef991a55
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   603
      66e2c4b43e0cf8f0bdff0733a0b97ce57874e35d
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   604
      624e609639853fe22c88d42a8fd1f53a0e9b7ebe
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   605
      2ea90778052ba7558fab36e3fd5d149512ff986b
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   606
      b9f5f740a8cd76700020e3903ee55ecff78bd3e5
49333
1fd7520e4961 bundlespec: allow the bundle spec to control the bundle version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 46776
diff changeset
   607
  $ hg debugbundle ./v2-cg-02.hg --spec
1fd7520e4961 bundlespec: allow the bundle spec to control the bundle version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 46776
diff changeset
   608
  bzip2-v2
1fd7520e4961 bundlespec: allow the bundle spec to control the bundle version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 46776
diff changeset
   609
  $ hg -R t1 bundle --config experimental.changegroup3=yes -a -t 'v2;cg.version=03' ./v2-cg-03.hg
50388
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   610
  7 changesets found
49333
1fd7520e4961 bundlespec: allow the bundle spec to control the bundle version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 46776
diff changeset
   611
  $ hg debugbundle ./v2-cg-03.hg --part-type changegroup
1fd7520e4961 bundlespec: allow the bundle spec to control the bundle version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 46776
diff changeset
   612
  Stream params: {Compression: BZ}
50388
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   613
  changegroup -- {nbchanges: 7, version: 03} (mandatory: True)
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   614
      ac39af4a9f7d2aaa7d244720e57838be9bf63b03
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   615
      901e97fadc587978ec52f2fa76af4aefc2d191e8
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   616
      a8c3a1ed30eb71f03f476c5fa7ead831ef991a55
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   617
      66e2c4b43e0cf8f0bdff0733a0b97ce57874e35d
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   618
      624e609639853fe22c88d42a8fd1f53a0e9b7ebe
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   619
      2ea90778052ba7558fab36e3fd5d149512ff986b
3cde8ed567d3 bundle: expand the graph we us for bundletype/bundlespec tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49334
diff changeset
   620
      b9f5f740a8cd76700020e3903ee55ecff78bd3e5
49333
1fd7520e4961 bundlespec: allow the bundle spec to control the bundle version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 46776
diff changeset
   621
  $ hg debugbundle ./v2-cg-03.hg --spec
49334
6d15a8971e30 bundlespec: fix the generation of bundlespec for `cg.version`
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49333
diff changeset
   622
  bzip2-v2;cg.version=03
51562
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   623
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   624
tests controlling bundle contents
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   625
=================================
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   626
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   627
  $ hg debugupdatecache -R t1
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   628
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   629
default content
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   630
---------------
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   631
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   632
  $ hg -R t1 bundle --all --quiet --type 'v2' ./v2.hg
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   633
  $ hg debugbundle ./v2.hg --spec
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   634
  bzip2-v2
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   635
  $ hg debugbundle ./v2.hg --quiet
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   636
  Stream params: {Compression: BZ}
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   637
  changegroup -- {nbchanges: 7, version: 02} (mandatory: True)
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   638
  hgtagsfnodes -- {} (mandatory: False)
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   639
  cache:rev-branch-cache -- {} (mandatory: False)
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   640
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   641
  $ hg -R t1 bundle --all --quiet --type 'v3' ./v3.hg
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   642
  $ hg debugbundle ./v3.hg --spec
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   643
  bzip2-v2;cg.version=03
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   644
  $ hg debugbundle ./v3.hg --quiet
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   645
  Stream params: {Compression: BZ}
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   646
  changegroup -- {nbchanges: 7, targetphase: 2, version: 03} (mandatory: True)
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   647
  hgtagsfnodes -- {} (mandatory: False)
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   648
  cache:rev-branch-cache -- {} (mandatory: False)
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   649
  phase-heads -- {} (mandatory: True)
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   650
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   651
adding extra parts
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   652
------------------
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   653
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   654
We should have a "phase-heads" part here that we did not had in the default content
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   655
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   656
  $ hg -R t1 bundle --all --quiet --type 'v2;phases=1' ./v2-phases.hg
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   657
  $ hg debugbundle ./v2-phases.hg --spec
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   658
  bzip2-v2
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   659
  $ hg debugbundle ./v2-phases.hg --quiet
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   660
  Stream params: {Compression: BZ}
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   661
  changegroup -- {nbchanges: 7, targetphase: 2, version: 02} (mandatory: True)
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   662
  hgtagsfnodes -- {} (mandatory: False)
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   663
  cache:rev-branch-cache -- {} (mandatory: False)
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   664
  phase-heads -- {} (mandatory: True)
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   665
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   666
skipping default inclusion
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   667
--------------------------
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   668
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   669
  $ hg -R t1 bundle --all --quiet --type 'v2;tagsfnodescache=false' ./v2-no-tfc.hg
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   670
  $ hg debugbundle ./v2-no-tfc.hg --spec
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   671
  bzip2-v2
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   672
  $ hg debugbundle ./v2-no-tfc.hg --quiet
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   673
  Stream params: {Compression: BZ}
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   674
  changegroup -- {nbchanges: 7, version: 02} (mandatory: True)
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   675
  cache:rev-branch-cache -- {} (mandatory: False)
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   676
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   677
  $ hg -R t1 bundle --all --quiet --type 'v3;phases=0' ./v3-no-phases.hg
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   678
  $ hg debugbundle ./v3-no-phases.hg --spec
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   679
  bzip2-v2;cg.version=03
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   680
  $ hg debugbundle ./v3-no-phases.hg --quiet
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   681
  Stream params: {Compression: BZ}
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   682
  changegroup -- {nbchanges: 7, version: 03} (mandatory: True)
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   683
  hgtagsfnodes -- {} (mandatory: False)
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   684
  cache:rev-branch-cache -- {} (mandatory: False)
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   685
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   686
  $ hg -R t1 bundle --all --quiet --type 'v3;phases=no;tagsfnodescache=0' ./v3-multi-no.hg
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   687
  $ hg debugbundle ./v3-multi-no.hg --spec
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   688
  bzip2-v2;cg.version=03
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   689
  $ hg debugbundle ./v3-multi-no.hg --quiet
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   690
  Stream params: {Compression: BZ}
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   691
  changegroup -- {nbchanges: 7, version: 03} (mandatory: True)
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   692
  cache:rev-branch-cache -- {} (mandatory: False)
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   693
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   694
skipping changegroup
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   695
--------------------
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   696
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   697
  $ hg -R t1 bundle --all --quiet --type 'v2;changegroup=no' ./v2-no-cg.hg
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   698
  $ hg debugbundle ./v2-no-cg.hg --spec
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   699
  bzip2-v2;changegroup=no
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   700
  $ hg debugbundle ./v2-no-cg.hg --quiet
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   701
  Stream params: {Compression: BZ}
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   702
  hgtagsfnodes -- {} (mandatory: False)
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   703
  cache:rev-branch-cache -- {} (mandatory: False)
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   704
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   705
  $ hg -R t1 bundle --all --quiet --type 'v3;changegroup=0' ./v3-no-cg.hg
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   706
  $ hg debugbundle ./v3-no-cg.hg --spec
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   707
  bzip2-v2;changegroup=no
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   708
  $ hg debugbundle ./v3-no-cg.hg --quiet
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   709
  Stream params: {Compression: BZ}
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   710
  hgtagsfnodes -- {} (mandatory: False)
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   711
  cache:rev-branch-cache -- {} (mandatory: False)
eac84af0c8cc bundle-spec: properly parse boolean configuration as boolean
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50392
diff changeset
   712
  phase-heads -- {} (mandatory: True)