Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
# these in reverse order.
for patch in reversed(patches):
newopts['name'] = checkpatchname(patch)
path = makebzurl(patch.bug.num, patch.id)
ret = orig(ui, repo, path, **newopts)
if ret:
return ret
extensions.wrapcommand(cmdtable, 'qimport', qimporthook)
# Here we setup the protocol handlers
processors = {
'bz': bzhandler.Handler,
'pb': pb.Handler,
'scp': scp.Handler
}
for s, p in processors.items():
url.handlerfuncs.append(p)
hg.schemes[s] = httppeer