Ejemplo n.º 1
0
def uisetup(ui):
    wireproto.wireprotocommand("clienttelemetry", "*")(_clienttelemetry)
    extensions.wrapfunction(wireproto, "_capabilities", _capabilities)
    hg.wirepeersetupfuncs.append(_peersetup)
    extensions.wrapfunction(dispatch, "runcommand", _runcommand)
Ejemplo n.º 2
0
def _registerwireprotocommand():
    if "getannotate" in wireproto.commands:
        return
    wireproto.wireprotocommand("getannotate", "path lastnode")(_getannotate)