| 1 |
|
| 2 |
Create a test repository: |
| 3 |
|
| 4 |
$ hg init repo |
| 5 |
$ cd repo |
| 6 |
$ touch a ; hg add a ; hg ci -ma |
| 7 |
$ touch b ; hg add b ; hg ci -mb |
| 8 |
$ touch c ; hg add c ; hg ci -mc |
| 9 |
$ hg bundle --base 0 --rev tip bundle.hg -v --type v1 |
| 10 |
2 changesets found |
| 11 |
uncompressed size of bundle content: |
| 12 |
332 (changelog) |
| 13 |
282 (manifests) |
| 14 |
93 b |
| 15 |
93 c |
| 16 |
$ hg bundle --base 0 --rev tip bundle2.hg -v --type none-v2 |
| 17 |
2 changesets found |
| 18 |
uncompressed size of bundle content: |
| 19 |
344 (changelog) |
| 20 |
322 (manifests) |
| 21 |
113 b |
| 22 |
113 c |
| 23 |
|
| 24 |
Terse output: |
| 25 |
|
| 26 |
$ hg debugbundle bundle.hg |
| 27 |
0e067c57feba1a5694ca4844f05588bb1bf82342 |
| 28 |
991a3460af53952d10ec8a295d3d2cc2e5fa9690 |
| 29 |
|
| 30 |
Terse output: |
| 31 |
|
| 32 |
$ hg debugbundle bundle2.hg |
| 33 |
Stream params: {} |
| 34 |
changegroup -- {nbchanges: 2, version: 02} (mandatory: True) |
| 35 |
0e067c57feba1a5694ca4844f05588bb1bf82342 |
| 36 |
991a3460af53952d10ec8a295d3d2cc2e5fa9690 |
| 37 |
cache:rev-branch-cache -- {} (mandatory: False) |
| 38 |
|
| 39 |
Quiet output |
| 40 |
|
| 41 |
$ hg debugbundle --quiet bundle2.hg |
| 42 |
Stream params: {} |
| 43 |
changegroup -- {nbchanges: 2, version: 02} (mandatory: True) |
| 44 |
cache:rev-branch-cache -- {} (mandatory: False) |
| 45 |
|
| 46 |
Verbose output: |
| 47 |
|
| 48 |
$ hg debugbundle --all bundle.hg |
| 49 |
format: id, p1, p2, cset, delta base, len(delta) |
| 50 |
|
| 51 |
changelog |
| 52 |
0e067c57feba1a5694ca4844f05588bb1bf82342 3903775176ed42b1458a6281db4a0ccf4d9f287a 0000000000000000000000000000000000000000 0e067c57feba1a5694ca4844f05588bb1bf82342 3903775176ed42b1458a6281db4a0ccf4d9f287a 80 |
| 53 |
991a3460af53952d10ec8a295d3d2cc2e5fa9690 0e067c57feba1a5694ca4844f05588bb1bf82342 0000000000000000000000000000000000000000 991a3460af53952d10ec8a295d3d2cc2e5fa9690 0e067c57feba1a5694ca4844f05588bb1bf82342 80 |
| 54 |
|
| 55 |
manifest |
| 56 |
686dbf0aeca417636fa26a9121c681eabbb15a20 8515d4bfda768e04af4c13a69a72e28c7effbea7 0000000000000000000000000000000000000000 0e067c57feba1a5694ca4844f05588bb1bf82342 8515d4bfda768e04af4c13a69a72e28c7effbea7 55 |
| 57 |
ae25a31b30b3490a981e7b96a3238cc69583fda1 686dbf0aeca417636fa26a9121c681eabbb15a20 0000000000000000000000000000000000000000 991a3460af53952d10ec8a295d3d2cc2e5fa9690 686dbf0aeca417636fa26a9121c681eabbb15a20 55 |
| 58 |
|
| 59 |
b |
| 60 |
b80de5d138758541c5f05265ad144ab9fa86d1db 0000000000000000000000000000000000000000 0000000000000000000000000000000000000000 0e067c57feba1a5694ca4844f05588bb1bf82342 0000000000000000000000000000000000000000 0 |
| 61 |
|
| 62 |
c |
| 63 |
b80de5d138758541c5f05265ad144ab9fa86d1db 0000000000000000000000000000000000000000 0000000000000000000000000000000000000000 991a3460af53952d10ec8a295d3d2cc2e5fa9690 0000000000000000000000000000000000000000 0 |
| 64 |
|
| 65 |
$ hg debugbundle --all bundle2.hg |
| 66 |
Stream params: {} |
| 67 |
changegroup -- {nbchanges: 2, version: 02} (mandatory: True) |
| 68 |
format: id, p1, p2, cset, delta base, len(delta) |
| 69 |
|
| 70 |
changelog |
| 71 |
0e067c57feba1a5694ca4844f05588bb1bf82342 3903775176ed42b1458a6281db4a0ccf4d9f287a 0000000000000000000000000000000000000000 0e067c57feba1a5694ca4844f05588bb1bf82342 0000000000000000000000000000000000000000 66 |
| 72 |
991a3460af53952d10ec8a295d3d2cc2e5fa9690 0e067c57feba1a5694ca4844f05588bb1bf82342 0000000000000000000000000000000000000000 991a3460af53952d10ec8a295d3d2cc2e5fa9690 0000000000000000000000000000000000000000 66 |
| 73 |
|
| 74 |
manifest |
| 75 |
686dbf0aeca417636fa26a9121c681eabbb15a20 8515d4bfda768e04af4c13a69a72e28c7effbea7 0000000000000000000000000000000000000000 0e067c57feba1a5694ca4844f05588bb1bf82342 8515d4bfda768e04af4c13a69a72e28c7effbea7 55 |
| 76 |
ae25a31b30b3490a981e7b96a3238cc69583fda1 686dbf0aeca417636fa26a9121c681eabbb15a20 0000000000000000000000000000000000000000 991a3460af53952d10ec8a295d3d2cc2e5fa9690 686dbf0aeca417636fa26a9121c681eabbb15a20 55 |
| 77 |
|
| 78 |
b |
| 79 |
b80de5d138758541c5f05265ad144ab9fa86d1db 0000000000000000000000000000000000000000 0000000000000000000000000000000000000000 0e067c57feba1a5694ca4844f05588bb1bf82342 0000000000000000000000000000000000000000 0 |
| 80 |
|
| 81 |
c |
| 82 |
b80de5d138758541c5f05265ad144ab9fa86d1db 0000000000000000000000000000000000000000 0000000000000000000000000000000000000000 991a3460af53952d10ec8a295d3d2cc2e5fa9690 0000000000000000000000000000000000000000 0 |
| 83 |
cache:rev-branch-cache -- {} (mandatory: False) |
| 84 |
|
| 85 |
$ cd .. |