diff -r 5fadc63ac99f -r cc5a040fe150 mercurial/debugcommands.py --- 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)