Mercurial > hg > mercurial-source
diff hgmerge @ 751:0b245edec124
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!
author | Muli Ben-Yehuda <mulix@mulix.org> |
---|---|
date | Thu, 21 Jul 2005 18:18:43 -0500 |
parents | 4fc63e22b1fe |
children | cd0ad12d9e42 8f5637f0a0c0 0902ffece4b4 |