mercurial/commandserver.py
changeset 40590 83dd8c63a0c6
parent 40589 054d0fcba2c4
child 40594 234c2d8c9e48
equal deleted inserted replaced
40589:054d0fcba2c4 40590:83dd8c63a0c6
    76     """
    76     """
    77     Write encoded message and metadata to out in the following format:
    77     Write encoded message and metadata to out in the following format:
    78 
    78 
    79     data length (unsigned int),
    79     data length (unsigned int),
    80     encoded message and metadata, as a flat key-value dict.
    80     encoded message and metadata, as a flat key-value dict.
       
    81 
       
    82     Each message should have 'type' attribute. Messages of unknown type
       
    83     should be ignored.
    81     """
    84     """
    82 
    85 
    83     # teach ui that write() can take **opts
    86     # teach ui that write() can take **opts
    84     structured = True
    87     structured = True
    85 
    88