[darcs-users] Re: Language aware darcs

Stephane Bortzmeyer bortzmeyer at nic.fr
Tue Jan 11 08:33:29 UTC 2005


On Tue, Jan 11, 2005 at 07:19:42AM +0100,
 Sebastian Sylvan <sebastian.sylvan at gmail.com> wrote 
 a message of 54 lines which said:

> the possibility of adding support for "anguage-aware patches".

Extremely useful (running a C code through indent creates a lot of
unecessary conflicts) but this is a lot of work, and which has to be
done for every language and redone for every revision.

I would suggest to do it first for an useful and common meta-language,
XML. diff should be done against canonicalized XML in order to limit
conflicts: with any revision control system, editing XML files with a
"user-friendly" tool which reorganizes at will the XML file is a pain.

Note that the Darcs manual says:

>FIXME: I should allow the user to specify the external diff
>command. Currently it is hardwired to "diff".

So, implementing this may solve a part of the problem (there is a
xmldiff which is XML-aware).







More information about the darcs-users mailing list