Mercurial > hg
diff tests/test-bundle-type.t @ 50392:385a4f8056e5
bundle: include required phases when saving a bundle (issue6794)
We now properly computes and includes phases above secret in bundle,
previously, they would be skipped, and then the code computing them would
crash.
Note that from this changeset, we also include the heads associated with the
changegroup's "target" phase. This turned out to be necessary to ensure the
movement of changeset included in the bundle, but already known locally.
This explain why lines for "secret" heads appears in multiple tests.
author | Jason R. Coombs <jaraco@jaraco.com>, Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Thu, 09 Mar 2023 01:26:04 +0100 |
parents | d68462736492 |
children | eac84af0c8cc |
line wrap: on
line diff
--- a/tests/test-bundle-type.t Wed Mar 08 17:33:33 2023 +0100 +++ b/tests/test-bundle-type.t Thu Mar 09 01:26:04 2023 +0100 @@ -383,6 +383,7 @@ 66e2c4b43e0cf8f0bdff0733a0b97ce57874e35d public a8c3a1ed30eb71f03f476c5fa7ead831ef991a55 draft 2ea90778052ba7558fab36e3fd5d149512ff986b draft + b9f5f740a8cd76700020e3903ee55ecff78bd3e5 secret bzip2-v2;cg.version=03 adding changesets