Show More
@@ -403,7 +403,7 b' def readurltoken(ui):' | |||||
403 | def callconduit(ui, name, params): |
|
403 | def callconduit(ui, name, params): | |
404 | """call Conduit API, params is a dict. return json.loads result, or None""" |
|
404 | """call Conduit API, params is a dict. return json.loads result, or None""" | |
405 | host, token = readurltoken(ui) |
|
405 | host, token = readurltoken(ui) | |
406 | url, authinfo = util.url(b'/'.join([host, b'api', name])).authinfo() |
|
406 | url, authinfo = urlutil.url(b'/'.join([host, b'api', name])).authinfo() | |
407 | ui.debug(b'Conduit Call: %s %s\n' % (url, pycompat.byterepr(params))) |
|
407 | ui.debug(b'Conduit Call: %s %s\n' % (url, pycompat.byterepr(params))) | |
408 | params = params.copy() |
|
408 | params = params.copy() | |
409 | params[b'__conduit__'] = { |
|
409 | params[b'__conduit__'] = { |
General Comments 0
You need to be logged in to leave comments.
Login now