[darcs-users] Re: Idea: Free floating patches?

Mark Stosberg mark at summersault.com
Sun Nov 14 01:47:25 UTC 2004


On 2004-11-13, David Roundy <droundy at abridgegame.org> wrote:
>
> This could be done, but I'm not so sure it would be useful.  Finding the
> minimal context would be a very slow process on large repositories, since
> it's an O(n^2) process.  In addition, I'm not sure how often one would
> really want a minimal context, and this also increases the probability that
> you'd not include a patch that is needed by others.

And can't 'darcs diff' be used for this as well? That gives the user the
flexibility to select exactly what's being patched against.

> I think a somewhat less lofty goal of adding a --to-tag option to send,
> which would allow you to create a bundle of patches that can be applied to
> a particular tagged version of the repositories.  Such a patch bundle would
> often be smaller than the "minimal context" bundle, since the context would
> be a single tag, rather than a whole list of patches, and would be a bit
> easier to explain ("here's a patch to darcs 1.0.0").

I like this idea. Would '--to-tag' be the best name, though? It seems a
little different than how '--to-tag' is used elsewhere. '--apply-to-tag'
Seems a little clearer. 

    Mark





More information about the darcs-users mailing list