D6871: wireprototypes: clarify documentation of getbundle argument types
martinvonz (Martin von Zweigbergk)
phabricator at mercurial-scm.org
Thu Sep 19 11:57:30 UTC 2019
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
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',
To: martinvonz, #hg-reviewers, marmoute, pulkit
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list