mercurial/debugcommands.py
changeset 37290 cc5a040fe150
parent 37288 9bfcbe4f4745
child 37300 2f859ad7ed8c
--- a/mercurial/debugcommands.py	Mon Mar 26 13:59:56 2018 -0700
+++ b/mercurial/debugcommands.py	Wed Mar 28 15:05:39 2018 -0700
@@ -2793,7 +2793,10 @@
     or a flag name for stream flags or frame flags, respectively. Values are
     resolved to integers and then bitwise OR'd together.
 
-    ``payload`` is is evaluated as a Python byte string literal.
+    ``payload`` represents the raw frame payload. If it begins with
+    ``cbor:``, the following string is evaluated as Python code and the
+    resulting object is fed into a CBOR encoder. Otherwise it is interpreted
+    as a Python byte string literal.
     """
     opts = pycompat.byteskwargs(opts)