Status: Draft/Experiment

Proposed new discovery/changegroup protocol

The wire protocol has several flaws:

See WireProtocol for the current protocol.

Overview

The Protocol

The current changegroup() uses base nodes, it should instead use common nodes. changegroup(roots)

 find all changesets descended from roots and return them as a single changegroup

A changegroup is a single stream containing:

A group is a list of chunks:

Wishlist


CategoryInternals