Problem cloning from server on windows
Andrei Vermel
avermel at mail.ru
Fri Dec 8 16:48:44 UTC 2006
After using hg locally for a while I set up a cgi server in apache
on a remote repository on windows box. Web browsing works fine.
But when I try to clone, I get a traceback.
Cloning through static-http doesn't work too - different message.
I then did 'hg serve -p 8888', and tried to clone from that,
and got more errors for http and simpe-http.
The results are the same using 0.9.1 and the latest version from hg-main.
Below are tracebacks and errors in the latest version.
I haven't tried ssh yet, hope it works :)
Regards,
Andrei
C:\aaa>hg clone http://127.0.0.1
requesting all changes
adding changesets
** unknown exception encountered, details follow
** report bug details to http://www.selenic.com/mercurial/bts
** or mercurial at selenic.com
** Mercurial Distributed SCM (version 0.9.1)
Traceback (most recent call last):
File "c:\python24\scripts\hg", line 12, in ?
commands.run()
File "C:\Python24\Lib\site-packages\mercurial\commands.py", line 2822, in run
sys.exit(dispatch(sys.argv[1:]))
File "C:\Python24\Lib\site-packages\mercurial\commands.py", line 3049, in disp
atch
return d()
File "C:\Python24\Lib\site-packages\mercurial\commands.py", line 3010, in <lam
bda>
d = lambda: func(u, *args, **cmdoptions)
File "C:\Python24\Lib\site-packages\mercurial\commands.py", line 405, in clone
update=not opts['noupdate'])
File "C:\Python24\Lib\site-packages\mercurial\hg.py", line 185, in clone
dest_repo.clone(src_repo, heads=revs, stream=stream)
File "C:\Python24\Lib\site-packages\mercurial\localrepo.py", line 1913, in clo
ne
return self.pull(remote, heads)
File "C:\Python24\Lib\site-packages\mercurial\localrepo.py", line 1301, in pul
l
return self.addchangegroup(cg, 'pull', remote.url())
File "C:\Python24\Lib\site-packages\mercurial\localrepo.py", line 1781, in add
changegroup
if cl.addgroup(chunkiter, csmap, tr, 1) is None:
File "C:\Python24\Lib\site-packages\mercurial\revlog.py", line 1140, in addgro
up
for chunk in revs:
File "C:\Python24\Lib\site-packages\mercurial\changegroup.py", line 31, in chu
nkiter
c = getchunk(source)
File "C:\Python24\Lib\site-packages\mercurial\changegroup.py", line 15, in get
chunk
d = source.read(4)
File "C:\Python24\Lib\site-packages\mercurial\util.py", line 1023, in read
for chunk in self.in_iter:
File "C:\Python24\Lib\site-packages\mercurial\httprepo.py", line 121, in zgene
rator
yield zd.decompress(chunk)
zlib.error: Error -3 while decompressing: invalid distance too far back
transaction abort!
rollback completed
C:\aaa>hg clone static-http://127.0.0.1
abort: HTTP Error 404: Not Found
C:\aaa>hg clone http://127.0.0.1:8888
abort: Invalid argument: 127.0.0.1:8888
C:\aaa>hg clone static-http://127.0.0.1:8888
abort: index 00manifest.i unknown format 17487!
C:\aaa>
More information about the Mercurial
mailing list