Mercurial > hg
comparison tests/test-debugbundle.t @ 37841:d618558e4e8b stable
debugbundle: also display if a part is mandatory or advisory
Most parts are mandatory but when introducing new parts, they should be
advisory if included by default or old clients won't be able to process it.
Differential Revision: https://phab.mercurial-scm.org/D3480
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Tue, 08 May 2018 11:39:38 +0200 |
parents | b89a7ef29013 |
children | 326b174c6a47 |
comparison
equal
deleted
inserted
replaced
37835:1f65d7d46545 | 37841:d618558e4e8b |
---|---|
29 | 29 |
30 Terse output: | 30 Terse output: |
31 | 31 |
32 $ hg debugbundle bundle2.hg | 32 $ hg debugbundle bundle2.hg |
33 Stream params: {} | 33 Stream params: {} |
34 changegroup -- {nbchanges: 2, version: 02} | 34 changegroup -- {nbchanges: 2, version: 02} (mandatory: True) |
35 0e067c57feba1a5694ca4844f05588bb1bf82342 | 35 0e067c57feba1a5694ca4844f05588bb1bf82342 |
36 991a3460af53952d10ec8a295d3d2cc2e5fa9690 | 36 991a3460af53952d10ec8a295d3d2cc2e5fa9690 |
37 cache:rev-branch-cache -- {} | 37 cache:rev-branch-cache -- {} (mandatory: True) |
38 | 38 |
39 Quiet output | 39 Quiet output |
40 | 40 |
41 $ hg debugbundle --quiet bundle2.hg | 41 $ hg debugbundle --quiet bundle2.hg |
42 Stream params: {} | 42 Stream params: {} |
43 changegroup -- {nbchanges: 2, version: 02} | 43 changegroup -- {nbchanges: 2, version: 02} (mandatory: True) |
44 cache:rev-branch-cache -- {} | 44 cache:rev-branch-cache -- {} (mandatory: True) |
45 | 45 |
46 Verbose output: | 46 Verbose output: |
47 | 47 |
48 $ hg debugbundle --all bundle.hg | 48 $ hg debugbundle --all bundle.hg |
49 format: id, p1, p2, cset, delta base, len(delta) | 49 format: id, p1, p2, cset, delta base, len(delta) |
62 c | 62 c |
63 b80de5d138758541c5f05265ad144ab9fa86d1db 0000000000000000000000000000000000000000 0000000000000000000000000000000000000000 991a3460af53952d10ec8a295d3d2cc2e5fa9690 0000000000000000000000000000000000000000 0 | 63 b80de5d138758541c5f05265ad144ab9fa86d1db 0000000000000000000000000000000000000000 0000000000000000000000000000000000000000 991a3460af53952d10ec8a295d3d2cc2e5fa9690 0000000000000000000000000000000000000000 0 |
64 | 64 |
65 $ hg debugbundle --all bundle2.hg | 65 $ hg debugbundle --all bundle2.hg |
66 Stream params: {} | 66 Stream params: {} |
67 changegroup -- {nbchanges: 2, version: 02} | 67 changegroup -- {nbchanges: 2, version: 02} (mandatory: True) |
68 format: id, p1, p2, cset, delta base, len(delta) | 68 format: id, p1, p2, cset, delta base, len(delta) |
69 | 69 |
70 changelog | 70 changelog |
71 0e067c57feba1a5694ca4844f05588bb1bf82342 3903775176ed42b1458a6281db4a0ccf4d9f287a 0000000000000000000000000000000000000000 0e067c57feba1a5694ca4844f05588bb1bf82342 0000000000000000000000000000000000000000 66 | 71 0e067c57feba1a5694ca4844f05588bb1bf82342 3903775176ed42b1458a6281db4a0ccf4d9f287a 0000000000000000000000000000000000000000 0e067c57feba1a5694ca4844f05588bb1bf82342 0000000000000000000000000000000000000000 66 |
72 991a3460af53952d10ec8a295d3d2cc2e5fa9690 0e067c57feba1a5694ca4844f05588bb1bf82342 0000000000000000000000000000000000000000 991a3460af53952d10ec8a295d3d2cc2e5fa9690 0000000000000000000000000000000000000000 66 | 72 991a3460af53952d10ec8a295d3d2cc2e5fa9690 0e067c57feba1a5694ca4844f05588bb1bf82342 0000000000000000000000000000000000000000 991a3460af53952d10ec8a295d3d2cc2e5fa9690 0000000000000000000000000000000000000000 66 |
78 b | 78 b |
79 b80de5d138758541c5f05265ad144ab9fa86d1db 0000000000000000000000000000000000000000 0000000000000000000000000000000000000000 0e067c57feba1a5694ca4844f05588bb1bf82342 0000000000000000000000000000000000000000 0 | 79 b80de5d138758541c5f05265ad144ab9fa86d1db 0000000000000000000000000000000000000000 0000000000000000000000000000000000000000 0e067c57feba1a5694ca4844f05588bb1bf82342 0000000000000000000000000000000000000000 0 |
80 | 80 |
81 c | 81 c |
82 b80de5d138758541c5f05265ad144ab9fa86d1db 0000000000000000000000000000000000000000 0000000000000000000000000000000000000000 991a3460af53952d10ec8a295d3d2cc2e5fa9690 0000000000000000000000000000000000000000 0 | 82 b80de5d138758541c5f05265ad144ab9fa86d1db 0000000000000000000000000000000000000000 0000000000000000000000000000000000000000 991a3460af53952d10ec8a295d3d2cc2e5fa9690 0000000000000000000000000000000000000000 0 |
83 cache:rev-branch-cache -- {} | 83 cache:rev-branch-cache -- {} (mandatory: True) |
84 | 84 |
85 $ cd .. | 85 $ cd .. |