On Sun, Aug 28, 2005 at 06:33:26PM -0300, Alberto Bertogli wrote: > I was thinking that I need some way to get the diff but not in diff format > but in darcs format, just like the one shown when you record or call > "changes -v".
Definitely getting changes in darcs format is far faster than diff format, so this is a good idea. > However, I can't get darcs to output the patch in XML output (ie. "changes > --xml-output" shows the same with or without -v). Is this normal and > expected? Should I parse the output without XML? Or is there an > alternative way of getting the output in this format? Actually, we could pretty easily extend changes -v --xml to output the patch in darcs format with xml coloring, which would format and color the patch the same way it is colored in terminal output (this would just involve writing a new Printer). With somewhat less ease, we could output some sort of an XML patch format--this would involve writing a new patch formatting function. More convenient might be to extend "annotate -p foo --xml-output" to do what it ought to. Right now, it doesn't output XML at all. But once we can output a darcs patch with XML formatting, we'd presumably make both changes -v and annotate -p work with XML. -- David Roundy http://www.darcs.net _______________________________________________ darcs-users mailing list [email protected] http://www.abridgegame.org/mailman/listinfo/darcs-users
