tests/test-obsolete.t
changeset 46165 41d695a08e90
parent 45921 95c4cca641f6
child 46811 5a0b930cfb3e
equal deleted inserted replaced
46164:a27aa754d6ba 46165:41d695a08e90
  1680   |
  1680   |
  1681   o  1:e016b03fd86f (draft) [ ] 1
  1681   o  1:e016b03fd86f (draft) [ ] 1
  1682   |
  1682   |
  1683   @  0:a78f55e5508c (draft) [ ] 0
  1683   @  0:a78f55e5508c (draft) [ ] 0
  1684   
  1684   
       
  1685 
       
  1686 
       
  1687 Test that bundles can ship the markers without making them mandatory
       
  1688 for non-obsmarker enabled clients:
       
  1689 
       
  1690   $ hg --config experimental.evolution.bundle-obsmarker=1 --config experimental.evolution.bundle-obsmarker:mandatory=0 bundle --base 0 -r 1:: obslog-bundle.hg
       
  1691   2 changesets found
       
  1692   $ hg debugbundle obslog-bundle.hg
       
  1693   Stream params: {Compression: BZ}
       
  1694   changegroup -- {nbchanges: 2, version: 02} (mandatory: True)
       
  1695       e016b03fd86fcccc54817d120b90b751aaf367d6
       
  1696       b0551702f918510f01ae838ab03a463054c67b46
       
  1697   cache:rev-branch-cache -- {} (mandatory: False)
       
  1698   obsmarkers -- {} (mandatory: False)
       
  1699       version: 1 (92 bytes)
       
  1700       e008cf2834908e5d6b0f792a9d4b0e2272260fb8 b0551702f918510f01ae838ab03a463054c67b46 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '8', 'operation': 'amend', 'user': 'test'}
       
  1701 
       
  1702 
  1685 Test that 'hg debugobsolete --index --rev' can show indices of obsmarkers when
  1703 Test that 'hg debugobsolete --index --rev' can show indices of obsmarkers when
  1686 only a subset of those are displayed (because of --rev option)
  1704 only a subset of those are displayed (because of --rev option)
  1687   $ hg init doindexrev
  1705   $ hg init doindexrev
  1688   $ cd doindexrev
  1706   $ cd doindexrev
  1689   $ echo a > a
  1707   $ echo a > a