[PATCH 1 of 3] changegroup: add changegroup4

Martin von Zweigbergk martinvonz at google.com
Tue Jan 12 10:48:01 CST 2016


On Tue, Jan 12, 2016 at 8:40 AM, Gregory Szorc <gregory.szorc at gmail.com> wrote:
>
>
>> On Jan 11, 2016, at 15:35, Martin von Zweigbergk <martinvonz at google.com> wrote:
>>
>> # HG changeset patch
>> # User Martin von Zweigbergk <martinvonz at google.com>
>> # Date 1452553831 28800
>> #      Mon Jan 11 15:10:31 2016 -0800
>> # Node ID ee464a97569061f4c8bb4af316a0517b4feb0ad7
>> # Parent  4571c0b383378f5eec5189e3a39c672a169ce566
>> changegroup: add changegroup4
>>
>
> We haven't shipped cg3, right? If there is no backwards compat concern, can we not modify cg3 instead of relegating it to an unused format (superseded by cg4) that we'll need to support forever?

You're right that there seems to be no release since cg3 was added in
77d25b913f80 (changegroup: introduce cg3, which has support for
exchanging treemanifests, 2015-12-11) and 12f727a5b434 (changegroup:
add flags field to cg3 delta header, 2015-12-14). And I suppose we
don't care about anyone who might have picked up an unreleased version
of hg, so it seems safe to me. Thanks! Sorry, I should have checked
that myself.


More information about the Mercurial-devel mailing list