Mercurial > hg
comparison mercurial/help/internals/wireprotocol.txt @ 37486:6847542bb8d7
wireproto: port keep command to wire protocol v2
This is pretty straightforward.
Differential Revision: https://phab.mercurial-scm.org/D3180
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Wed, 28 Mar 2018 15:44:47 -0700 |
parents | 0b7475ea38cf |
children | 68915b9f8e96 |
comparison
equal
deleted
inserted
replaced
37485:0b7475ea38cf | 37486:6847542bb8d7 |
---|---|
1684 The response is a CBOR array of bytestrings defining changeset nodes | 1684 The response is a CBOR array of bytestrings defining changeset nodes |
1685 of DAG heads. The array can be empty if the repository is empty or no | 1685 of DAG heads. The array can be empty if the repository is empty or no |
1686 changesets satisfied the request. | 1686 changesets satisfied the request. |
1687 | 1687 |
1688 TODO consider exposing phase of heads in response | 1688 TODO consider exposing phase of heads in response |
1689 | |
1690 known | |
1691 ----- | |
1692 | |
1693 Determine whether a series of changeset nodes is known to the server. | |
1694 | |
1695 The command accepts the following arguments: | |
1696 | |
1697 nodes | |
1698 (array of bytestrings) List of changeset nodes whose presence to | |
1699 query. | |
1700 | |
1701 The response is a bytestring where each byte contains a 0 or 1 for the | |
1702 corresponding requested node at the same index. | |
1703 | |
1704 TODO use a bit array for even more compact response |