atom feed13 messages in com.selenic.mercurialhg clone via http broken?
FromSent OnAttachments
Michal KvasnicaMar 9, 2006 5:02 am 
Thibault NorthMar 9, 2006 5:25 am 
Benoit BoissinotMar 9, 2006 9:15 am 
Benoit BoissinotMar 9, 2006 9:16 am 
Michal KvasnicaMar 10, 2006 6:13 am 
Thomas Arendsen HeinMar 10, 2006 8:49 am 
Michal KvasnicaMar 10, 2006 9:38 am 
Benoit BoissinotMar 10, 2006 9:59 am 
Michal KvasnicaMar 13, 2006 8:16 am 
Michal KvasnicaMar 24, 2006 7:47 am 
Thomas Arendsen HeinMar 24, 2006 8:21 am 
Thomas Arendsen HeinMar 24, 2006 9:56 am 
Thomas Arendsen HeinMar 24, 2006 12:55 pm 
Subject:hg clone via http broken?
From:Michal Kvasnica (kvas@control.ee.ethz.ch)
Date:Mar 13, 2006 8:16:30 am
List:com.selenic.mercurial

Anyhow, I am still puzzled why a 4Mb cache worked with revision 35a05f177267 but does not work since 2e0a288ca93e.

Just to make sure it is not a demandload related problem, can you apply this patch on top of the broken 2e0a288ca93e and try to reproduce the problem? This reduces usage of demandload from 637 to 39 calls for cloning crew, and mpt is somewhat larger.

with rev 2e0a288ca93e:

$ hg clone http://control.ee.ethz.ch/~mpt/hg/mpt-25x/ requesting all changes adding changesets adding manifests adding file changes abort: premature EOF reading chunk (got 1717652 bytes, expected 1851712)! transaction abort! rollback completed

Can you capture the traceback with a network sniffer (i use tcpflow, but tcpdump can do it i think) ?

Traceback (most recent call last): File "index.cgi", line 21, in ? h.run() File "/home/mpt/lib/python.solaris/mercurial/hgweb.py", line 1185, in run hgweb(real).run(req) File "/home/mpt/lib/python.solaris/mercurial/hgweb.py", line 1000, in run chunk = f.read(4096) File "/home/mpt/lib/python.solaris/mercurial/util.py", line 664, in read for chunk in self.in_iter: File "/home/mpt/lib/python.solaris/mercurial/localrepo.py", line 1339, in gengroup for chnk in filerevlog.group(nodeiter, lookup): File "/home/mpt/lib/python.solaris/mercurial/revlog.py", line 721, in group tb = self.revision(nb) File "/home/mpt/lib/python.solaris/mercurial/revlog.py", line 553, in revision text = self.chunk(base) File "/home/mpt/lib/python.solaris/mercurial/revlog.py", line 510, in chunk loadcache() File "/home/mpt/lib/python.solaris/mercurial/revlog.py", line 507, in loadcache self.chunkcache = (start, df.read(cache_length)) MemoryError

HTML tracebacks:

http://control.ee.ethz.ch/~mpt/hgtb/mpt.html http://control.ee.ethz.ch/~mpt/hgtb/mpt-25x.html

michal