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