[PATCH] verify pulling from a proper hg repository

Muli Ben-Yehuda mulix at mulix.org
Thu Jul 21 18:51:27 CDT 2005


On Thu, Jul 21, 2005 at 03:35:03PM -0700, Matt Mackall wrote:
> On Thu, Jul 21, 2005 at 11:26:47PM +0300, Muli Ben-Yehuda wrote:
> > Hi,
> > 
> > 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!
> 
> This is great. I'm going to add it and then make some changes on top
> of it.

Cool! your changes look great. May I also suggest updating the link to
the kernel repo on the mercurial home page?

Cheers,
Muli
-- 
Muli Ben-Yehuda
http://www.mulix.org | http://mulix.livejournal.com/



More information about the Mercurial mailing list