Patchwork D6871: wireprototypes: clarify documentation of getbundle argument types

login
register
mail settings
Submitter phabricator
Date Sept. 19, 2019, 11:57 a.m.
Message ID <e8b9ebb2f9593b407f1f10669a2fea21@localhost.localdomain>
Download mbox | patch
Permalink /patch/41717/
State Not Applicable
Headers show

Comments

phabricator - Sept. 19, 2019, 11:57 a.m.
Closed by commit rHG9668744c9122: wireprototypes: clarify documentation of getbundle argument types (authored by martinvonz).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D6871?vs=16586&id=16587

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D6871/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D6871

AFFECTED FILES
  mercurial/wireprototypes.py

CHANGE DETAILS




To: martinvonz, #hg-reviewers, marmoute, pulkit
Cc: mercurial-devel

Patch

diff --git a/mercurial/wireprototypes.py b/mercurial/wireprototypes.py
--- a/mercurial/wireprototypes.py
+++ b/mercurial/wireprototypes.py
@@ -147,14 +147,14 @@ 
 
 # mapping of options accepted by getbundle and their types
 #
-# Meant to be extended by extensions. It is extensions responsibility to ensure
-# such options are properly processed in exchange.getbundle.
+# Meant to be extended by extensions. It is the extension's responsibility to
+# ensure such options are properly processed in exchange.getbundle.
 #
 # supported types are:
 #
-# :nodes: list of binary nodes
-# :csv:   list of comma-separated values
-# :scsv:  list of comma-separated values return as set
+# :nodes: list of binary nodes, transmitted as space-separated hex nodes
+# :csv:   list of values, transmitted as comma-separated values
+# :scsv:  set of values, transmitted as comma-separated values
 # :plain: string with no transformation needed.
 GETBUNDLE_ARGUMENTS = {
     'heads':  'nodes',