diff tests/test-stream-bundle-v2.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 36b2a304216c
children 5763216ba311
line wrap: on
line diff
--- a/tests/test-stream-bundle-v2.t	Sat May 05 18:03:01 2018 -0500
+++ b/tests/test-stream-bundle-v2.t	Tue May 08 11:39:38 2018 +0200
@@ -46,7 +46,7 @@
   $ hg bundle -a --type="none-v2;stream=v2" bundle.hg
   $ hg debugbundle bundle.hg
   Stream params: {}
-  stream2 -- {bytecount: 1693, filecount: 11, requirements: dotencode%2Cfncache%2Cgeneraldelta%2Crevlogv1%2Cstore}
+  stream2 -- {bytecount: 1693, filecount: 11, requirements: dotencode%2Cfncache%2Cgeneraldelta%2Crevlogv1%2Cstore} (mandatory: True)
   $ hg debugbundle --spec bundle.hg
   none-v2;stream=v2;requirements%3Ddotencode%2Cfncache%2Cgeneraldelta%2Crevlogv1%2Cstore