[darcs-devel] [issue1514] minimal context function

Eric Kow bugs at darcs.net
Tue Mar 6 07:41:28 UTC 2012


Eric Kow <kowey at darcs.net> added the comment:

Another issue perhaps: for current darcs send, you need not just a 
minimal context for a single patch, but for a single minimal context for 
a set of potentially unrelated patches.

Wouldn't that be a bit tricky? Naive algorithm might be: commute patches 
backwards to compute minimal context separately for each one of the 
patches, take union of the contexts, then commute each patch forwards 
until it fits into the union-context again.  :-/

(Minimal context still has lots of uses outside of send, if I remember 
correctly, just thinking about this over breakfast)

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue1514>
__________________________________


More information about the darcs-devel mailing list