hg clone via http broken?

Michal Kvasnica kvasnica at gmail.com
Fri Mar 10 15:44:47 UTC 2006


>> 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

$ hg clone http://control.ee.ethz.ch/~mpt/hg/mpt/
requesting all changes
adding changesets
adding manifests
adding file changes
abort: consistency error adding group!
transaction abort!
rollback completed


with rev 2e0a288ca93e + your patch on top of it:

$ hg clone http://control.ee.ethz.ch/~mpt/hg/mpt-25x/
requesting all changes
adding changesets
adding manifests
adding file changes
added 676 changesets with 2118 changes to 928 files
(so this one works)

$ hg clone http://control.ee.ethz.ch/~mpt/hg/mpt/
requesting all changes
adding changesets
adding manifests
adding file changes
abort: consistency error adding group!
transaction abort!
rollback completed


with rev 2e0a288ca93e + 2Mb cache limit:

$ hg clone http://control.ee.ethz.ch/~mpt/hg/mpt/
requesting all changes
adding changesets
adding manifests
adding file changes
added 780 changesets with 2258 changes to 940 files

michal



More information about the Mercurial mailing list