equal
deleted
inserted
replaced
2791 ``stream-flags`` and ``flags`` are a ``|`` delimited list of flag |
2791 ``stream-flags`` and ``flags`` are a ``|`` delimited list of flag |
2792 components. Each component (and there can be just one) can be an integer |
2792 components. Each component (and there can be just one) can be an integer |
2793 or a flag name for stream flags or frame flags, respectively. Values are |
2793 or a flag name for stream flags or frame flags, respectively. Values are |
2794 resolved to integers and then bitwise OR'd together. |
2794 resolved to integers and then bitwise OR'd together. |
2795 |
2795 |
2796 ``payload`` is is evaluated as a Python byte string literal. |
2796 ``payload`` represents the raw frame payload. If it begins with |
|
2797 ``cbor:``, the following string is evaluated as Python code and the |
|
2798 resulting object is fed into a CBOR encoder. Otherwise it is interpreted |
|
2799 as a Python byte string literal. |
2797 """ |
2800 """ |
2798 opts = pycompat.byteskwargs(opts) |
2801 opts = pycompat.byteskwargs(opts) |
2799 |
2802 |
2800 if opts['localssh'] and not repo: |
2803 if opts['localssh'] and not repo: |
2801 raise error.Abort(_('--localssh requires a repository')) |
2804 raise error.Abort(_('--localssh requires a repository')) |