On Mon, Feb 27, 2006 at 10:38:51PM +0100, Juliusz Chroboczek wrote: > > Tough week. Here's what problem I tried to solve: If you and I > > write one new patch type each without knowing each other, their > > "properties" should be declared in some way so that darcs can > > figure out how to commute them with each other. > > You could simply declare that different user-defined patch types don't > commute at all. Then if you have a single file that contains both > LaTeX and XML, you're in trouble, but then, you'll have asked for it.
Well, I do like to mix different formats in the same file. > The only things a user would need to declare are: > > - how to apply a patch; > - how to inverst a patch. I was thinking along the line of declaring a new patch type as for example being of the hunk kind, that it tells what range of lines it affects, and it could then commute with all other patch types of the hunk kind. -- Tommy Pettersson <[EMAIL PROTECTED]> _______________________________________________ darcs-users mailing list [email protected] http://www.abridgegame.org/mailman/listinfo/darcs-users
