comparison tests/test-obsolete.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 31750413f8d7
children 326b174c6a47
comparison
equal deleted inserted replaced
37835:1f65d7d46545 37841:d618558e4e8b
1450 | 1450 |
1451 o 0:a78f55e5508c (draft) [ ] 0 1451 o 0:a78f55e5508c (draft) [ ] 0
1452 1452
1453 $ hg debugbundle .hg/strip-backup/e008cf283490-*-backup.hg 1453 $ hg debugbundle .hg/strip-backup/e008cf283490-*-backup.hg
1454 Stream params: {Compression: BZ} 1454 Stream params: {Compression: BZ}
1455 changegroup -- {nbchanges: 1, version: 02} 1455 changegroup -- {nbchanges: 1, version: 02} (mandatory: True)
1456 e008cf2834908e5d6b0f792a9d4b0e2272260fb8 1456 e008cf2834908e5d6b0f792a9d4b0e2272260fb8
1457 cache:rev-branch-cache -- {} 1457 cache:rev-branch-cache -- {} (mandatory: True)
1458 phase-heads -- {} 1458 phase-heads -- {} (mandatory: True)
1459 e008cf2834908e5d6b0f792a9d4b0e2272260fb8 draft 1459 e008cf2834908e5d6b0f792a9d4b0e2272260fb8 draft
1460 1460
1461 #if repobundlerepo 1461 #if repobundlerepo
1462 $ hg pull .hg/strip-backup/e008cf283490-*-backup.hg 1462 $ hg pull .hg/strip-backup/e008cf283490-*-backup.hg
1463 pulling from .hg/strip-backup/e008cf283490-ede36964-backup.hg 1463 pulling from .hg/strip-backup/e008cf283490-ede36964-backup.hg
1493 $ hg log -G --hidden 1493 $ hg log -G --hidden
1494 @ 0:a78f55e5508c (draft) [tip ] 0 1494 @ 0:a78f55e5508c (draft) [tip ] 0
1495 1495
1496 $ hg debugbundle .hg/strip-backup/e016b03fd86f-*-backup.hg 1496 $ hg debugbundle .hg/strip-backup/e016b03fd86f-*-backup.hg
1497 Stream params: {Compression: BZ} 1497 Stream params: {Compression: BZ}
1498 changegroup -- {nbchanges: 2, version: 02} 1498 changegroup -- {nbchanges: 2, version: 02} (mandatory: True)
1499 e016b03fd86fcccc54817d120b90b751aaf367d6 1499 e016b03fd86fcccc54817d120b90b751aaf367d6
1500 b0551702f918510f01ae838ab03a463054c67b46 1500 b0551702f918510f01ae838ab03a463054c67b46
1501 cache:rev-branch-cache -- {} 1501 cache:rev-branch-cache -- {} (mandatory: True)
1502 obsmarkers -- {} 1502 obsmarkers -- {} (mandatory: True)
1503 version: 1 (92 bytes) 1503 version: 1 (92 bytes)
1504 e008cf2834908e5d6b0f792a9d4b0e2272260fb8 b0551702f918510f01ae838ab03a463054c67b46 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '8', 'operation': 'amend', 'user': 'test'} 1504 e008cf2834908e5d6b0f792a9d4b0e2272260fb8 b0551702f918510f01ae838ab03a463054c67b46 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '8', 'operation': 'amend', 'user': 'test'}
1505 phase-heads -- {} 1505 phase-heads -- {} (mandatory: True)
1506 b0551702f918510f01ae838ab03a463054c67b46 draft 1506 b0551702f918510f01ae838ab03a463054c67b46 draft
1507 1507
1508 $ hg unbundle .hg/strip-backup/e016b03fd86f-*-backup.hg 1508 $ hg unbundle .hg/strip-backup/e016b03fd86f-*-backup.hg
1509 adding changesets 1509 adding changesets
1510 adding manifests 1510 adding manifests