mercurial/help/internals/wireprotocol.txt
changeset 37537 be5d4749edc0
parent 37535 69e46c1834ac
child 37538 89fed81bbb6c
--- a/mercurial/help/internals/wireprotocol.txt	Fri Apr 06 17:21:16 2018 -0700
+++ b/mercurial/help/internals/wireprotocol.txt	Fri Apr 06 17:39:40 2018 -0700
@@ -1777,3 +1777,22 @@
 The response is a map with bytestring keys and values.
 
 TODO consider using binary to represent nodes in certain pushkey namespaces.
+
+pushkey
+-------
+
+Set a value using the ``pushkey`` protocol.
+
+The command receives the following arguments:
+
+namespace
+   (bytestring) Pushkey namespace to operate on.
+key
+   (bytestring) The pushkey key to set.
+old
+   (bytestring) Old value for this key.
+new
+   (bytestring) New value for this key.
+
+TODO consider using binary to represent nodes is certain pushkey namespaces.
+TODO better define response type and meaning.