[PATCH] verify pulling from a proper hg repository
Kevin Smith
yarcs at qualitycode.com
Thu Jul 21 17:11:39 CDT 2005
Muli Ben-Yehuda wrote:
> When pulling from a non hg repository URL (e.g. http://www.kernel.org/hg)
> you geta pretty obscure error (zlib: uknown compression type). The
> attached patch modifies hgweb.py and hg.py to supply and check a
> 'Content-type: application/hg-0.1' HTTP header for the branches,
> between and changegroup commands, so that we know it's a proper hg
> repo before snarfing the input. Comments appreciated!
Will this break pulling from a "plain http" repo? That is, a repo that
is served by a raw web server, and not by a cgi process?
Kevin
More information about the Mercurial
mailing list