# HG changeset patch # User Augie Fackler # Date 1443554043 14400 # Node ID 42733e956887b68f4e53dac854232230c77b1d7f # Parent 749d913f24b86e3b5b9728de661fa693a20bb312 changegroup: reformat packermap and add comment I'm about to add a cg3, and it seems prudent to annotate what formats support what features. It strikes me that we may want to consider moving to a more feature-oriented model in the future, but we'll see how that looks in a little while I guess. diff -r 749d913f24b8 -r 42733e956887 mercurial/changegroup.py --- a/mercurial/changegroup.py Wed Oct 14 12:05:27 2015 -0400 +++ b/mercurial/changegroup.py Tue Sep 29 15:14:03 2015 -0400 @@ -776,7 +776,9 @@ return struct.pack(self.deltaheader, node, p1n, p2n, basenode, linknode) packermap = {'01': (cg1packer, cg1unpacker), - '02': (cg2packer, cg2unpacker)} + # cg2 adds support for exchanging generaldelta + '02': (cg2packer, cg2unpacker), +} def _changegroupinfo(repo, nodes, source): if repo.ui.verbose or source == 'bundle':