[darcs-users] darcs cannot apply some patch bundles

Florent Becker florent.becker at ens-lyon.org
Mon Mar 5 10:08:19 UTC 2012


Le 05/03/2012 09:09, Eric Kow a écrit :
> 
> 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?
> 
> 
We can also start computing the minimal context and let the user use
Ctrl-C (or another key combination) to send the patch now in a
not-quite-minimal context if computing the minimal context takes too long.

Florent



More information about the darcs-users mailing list