[PATCH 1 of 8] bundle: allow bundle command to use changegroup3 in tests

Pierre-Yves David pierre-yves.david at ens-lyon.org
Fri Apr 7 14:39:03 UTC 2017



On 04/07/2017 04:14 PM, Jun Wu wrote:
> Excerpts from Pierre-Yves David's message of 2017-04-07 16:07:08 +0200:
>>
>> On 04/07/2017 04:08 AM, Jun Wu wrote:
>>> # HG changeset patch
>>> # User Jun Wu <quark at fb.com>
>>> # Date 1491523318 25200
>>> #      Thu Apr 06 17:01:58 2017 -0700
>>> # Node ID 3d62d68ed4245359b5ae5b6b6c1959a15ffa84e9
>>> # Parent  45761ef1bc935b1fab74adccf2541ef854b1c2eb
>>> # Available At https://bitbucket.org/quark-zju/hg-draft
>>> #              hg pull https://bitbucket.org/quark-zju/hg-draft  -r 3d62d68ed424
>>> bundle: allow bundle command to use changegroup3 in tests
>>>
>>> Since bundle2 writes changegroup version, we can just reuse the bundle2
>>> format for changegroup3.
>>>
>>> This won't enable the bundle command to write changegroup3 in the wild,
>>> since exchange.parsebundlespec only returns changegroup2.
>>
>> Is there any reasons why we can't just have bundle spec to support cg3?
>
> martinvonz reminds me that the treemanifest part is tricky.

You mean that currently, your cg3 bundle does not support treemanifest?

If so, I'm not sure this is a blocker since treemanifest are still 
experimental and already unsupported by 'hg bundle'.

Cheers,

-- 
Pierre-Yves David



More information about the Mercurial-devel mailing list