stream-requirements: smoother matching in test-treemanifest.t
The value of `streamreqs` changes depending of the format used, but this is not
relevant for this tests. So we doing a smarter matching of the line to avoid
this test interfering with format changes in the future.
Differential Revision: https://phab.mercurial-scm.org/D12078
--- a/tests/test-treemanifest.t Tue Jan 18 10:49:43 2022 +0100
+++ b/tests/test-treemanifest.t Tue Jan 18 10:50:08 2022 +0100
@@ -829,11 +829,9 @@
$ hg -R deeprepo debugcreatestreamclonebundle repo-packed.hg
writing 5330 bytes for 18 files (no-zstd !)
writing 5400 bytes for 18 files (zstd !)
- bundle requirements: generaldelta, revlogv1, sparserevlog, treemanifest (no-rust !)
- bundle requirements: generaldelta, persistent-nodemap, revlogv1, sparserevlog, treemanifest (rust !)
+ bundle requirements:.* treemanifest(,.*)? (re)
$ hg debugbundle --spec repo-packed.hg
- none-packed1;requirements%3Dgeneraldelta%2Crevlogv1%2Csparserevlog%2Ctreemanifest (no-rust !)
- none-packed1;requirements%3Dgeneraldelta%2Cpersistent-nodemap%2Crevlogv1%2Csparserevlog%2Ctreemanifest (rust !)
+ none-packed1;requirements%3D(.*%2C)?treemanifest(%2C.*)? (re)
#endif