[darcs-devel] too eager patch reading?

Peter Strand peter at zarquon.se
Sun Apr 17 04:09:14 PDT 2005


I've started to use darcs on a repo (converted from cvs) with many, 
large, binary files. Which means that some of the patches are about 
10-30MB in size, compressed. darcs is not too happy about that..


The real problem I have at the moment is that pulling (or pushing), to a 
mostly empty repo with no conflicts, takes a lot of time, hours.

However, while looking into that, I noticed that 
get_common_and_uncommon, which should be an easy operation in this case 
(only one patch in common, the first one in the source repo, the only 
one in the target repo), takes a lot of time trying to parse the 
patches. Which is rather slow in this repo.

What I think I'm really trying to ask, is what does the get_extra 
function in Depend.lhs do and why?
Would it be possible to make it less interested in my expensive patch 
content?



/Peter





More information about the darcs-devel mailing list