mercurial/debugcommands.py
changeset 37057 2ec1fb9de638
parent 37051 40206e227412
child 37084 f0b6fbea00cf
equal deleted inserted replaced
37056:861e9d37e56e 37057:2ec1fb9de638
  2763 
  2763 
  2764     It is possible to emit a *Unified Frame-Based Protocol* by using special
  2764     It is possible to emit a *Unified Frame-Based Protocol* by using special
  2765     syntax.
  2765     syntax.
  2766 
  2766 
  2767     A frame is composed as a type, flags, and payload. These can be parsed
  2767     A frame is composed as a type, flags, and payload. These can be parsed
  2768     from a string of the form ``<type> <flags> <payload>``. That is, 3
  2768     from a string of the form ``<requestid> <type> <flags> <payload>``. That is,
  2769     space-delimited strings.
  2769     4 space-delimited strings.
  2770 
  2770 
  2771     ``payload`` is the simplest: it is evaluated as a Python byte string
  2771     ``payload`` is the simplest: it is evaluated as a Python byte string
  2772     literal.
  2772     literal.
       
  2773 
       
  2774     ``requestid`` is an integer defining the request identifier.
  2773 
  2775 
  2774     ``type`` can be an integer value for the frame type or the string name
  2776     ``type`` can be an integer value for the frame type or the string name
  2775     of the type. The strings are defined in ``wireprotoframing.py``. e.g.
  2777     of the type. The strings are defined in ``wireprotoframing.py``. e.g.
  2776     ``command-name``.
  2778     ``command-name``.
  2777 
  2779