##// END OF EJS Templates
hg-ssh: fix dispatch call to use dispatch.request()...
Idan Kamara -
r14462:f6a43367 default
parent child Browse files
Show More
@@ -42,7 +42,7 if orig_cmd.startswith('hg -R ') and ori
42 42 path = orig_cmd[6:-14]
43 43 repo = os.path.normpath(os.path.join(cwd, os.path.expanduser(path)))
44 44 if repo in allowed_paths:
45 dispatch.dispatch(['-R', repo, 'serve', '--stdio'])
45 dispatch.dispatch(dispatch.request(['-R', repo, 'serve', '--stdio']))
46 46 else:
47 47 sys.stderr.write("Illegal repository %r\n" % repo)
48 48 sys.exit(-1)
General Comments 0
You need to be logged in to leave comments. Login now