[darcs-users] Some crazy idea

Andrew Pimlott andrew at pimlott.net
Thu Sep 9 18:15:57 UTC 2004


On Tue, Sep 07, 2004 at 10:43:10PM +0200, Tomasz Zielonka wrote:
> I think that a potential general solution to such problems would be an
> option to record allowing to specify *any* patch.  One would use it like
> this: 
>     darcs whatsnew > file
>     edit file
>     darcs record --override-patch=file
> 
> It would probably be necessary to check that the supplied patch is
> compatible with the repository, but the mechanism coult give a fair
> degree of freedom.

I can imagine using this and I think it is very doable.  However, it
would probably take some care to implement, and you would have to define
precisely how you interpret edited patches to avoid mistakes (eg, what
exactly is your algorithm for verifying and fixing up edited patches).
And it would inevitably be an experts-only feature, so I don't know how
much support you'll get for it.

But as one who sometimes edits (non-darcs) patches, I like the idea.

Andrew




More information about the darcs-users mailing list