Show More
@@ -42,7 +42,7 b" 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