Problem cloning from server on windows

Thomas Arendsen Hein thomas at intevation.de
Sat Dec 9 12:28:58 UTC 2006


* Andrei Vermel <avermel at mail.ru> [20061208 18:01]:
> C:\aaa>hg clone http://127.0.0.1
> zlib.error: Error -3 while decompressing: invalid distance too far back
> transaction abort!
> rollback completed

Seems some apache error, please look in apache's error.log.

> C:\aaa>hg clone static-http://127.0.0.1
> abort: HTTP Error 404: Not Found

Can't work with the CGI, you need to publish the .hg directory.

> C:\aaa>hg clone http://127.0.0.1:8888
> abort: Invalid argument: 127.0.0.1:8888

Bug in Mercurial meets Windows file name conventions:
Mercurial tries to create a local directory "127.0.0.1:8888" here,
but Windows doesn't allow colons in names.

Just specify a non-existing target directory, e.g.:
hg clone http://127.0.0.1:8888 foo

> C:\aaa>hg clone static-http://127.0.0.1:8888
> abort: index 00manifest.i unknown format 17487!

Can't work with hg serve, static-http wants files, not a real hg server.

Thomas

-- 
Email: thomas at intevation.de
http://intevation.de/~thomas/



More information about the Mercurial mailing list