[darcs-users] darcs cannot apply some patch bundles

Ben Franksen benjamin.franksen at bessy.de
Tue Mar 6 00:29:11 UTC 2012


Eric Kow wrote:
> On 4 Mar 2012, at 12:28, Ben Franksen wrote:
>> As far as I am concerned, the 'darcs send computes minimal context'
>> solution would be perfect. But I have no idea how difficult that is (both
>> for the darcs developers and then for darcs). For a compromise, maybe
>> some approximation of 'minimal' would be good enough in practice.
> 
> Ah yes, I think I remember that one issue is that computing the minimal
> context is actually expensive.
> 
> I wonder what Darcs could compute that would a useful “smaller context”. 
> Maybe since Darcs already bases the bundle off the latest shared tag
> between sender and trunk (don't quote me on this, just a guess), it could
> just be minimal-assuming-that-latest-tag?

Yup, that is exactly what I was thinking of. So darcs would only need to 
calculate dependencies for the patches that are not in the latest tag, which 
is usually orders of magnitude less than the whole repo. It is not perfect, 
of course, but it would still be a noticeable improvement for usability.

Cheers
Ben



More information about the darcs-users mailing list