equal
deleted
inserted
replaced
8 |
8 |
9 import os |
9 import os |
10 from mercurial import ui, hg, hook, error, encoding, templater |
10 from mercurial import ui, hg, hook, error, encoding, templater |
11 from common import get_mtime, ErrorResponse, permhooks |
11 from common import get_mtime, ErrorResponse, permhooks |
12 from common import HTTP_OK, HTTP_BAD_REQUEST, HTTP_NOT_FOUND, HTTP_SERVER_ERROR |
12 from common import HTTP_OK, HTTP_BAD_REQUEST, HTTP_NOT_FOUND, HTTP_SERVER_ERROR |
13 from common import HTTP_UNAUTHORIZED, HTTP_METHOD_NOT_ALLOWED |
|
14 from request import wsgirequest |
13 from request import wsgirequest |
15 import webcommands, protocol, webutil |
14 import webcommands, protocol, webutil |
16 |
15 |
17 perms = { |
16 perms = { |
18 'changegroup': 'pull', |
17 'changegroup': 'pull', |