6 # of the GNU General Public License, incorporated herein by reference. |
6 # of the GNU General Public License, incorporated herein by reference. |
7 |
7 |
8 import cStringIO, zlib, bz2, tempfile, errno, os, sys |
8 import cStringIO, zlib, bz2, tempfile, errno, os, sys |
9 from mercurial import util, streamclone |
9 from mercurial import util, streamclone |
10 from mercurial.i18n import gettext as _ |
10 from mercurial.i18n import gettext as _ |
11 from mercurial.node import * |
11 from mercurial.node import bin, hex |
12 from mercurial import changegroup as changegroupmod |
12 from mercurial import changegroup as changegroupmod |
13 from common import HTTP_OK, HTTP_NOT_FOUND, HTTP_SERVER_ERROR |
13 from common import HTTP_OK, HTTP_NOT_FOUND, HTTP_SERVER_ERROR |
14 |
14 |
15 # __all__ is populated with the allowed commands. Be sure to add to it if |
15 # __all__ is populated with the allowed commands. Be sure to add to it if |
16 # you're adding a new command, or the new command won't work. |
16 # you're adding a new command, or the new command won't work. |