[prev in list] [next in list] [prev in thread] [next in thread] 

List:       darcs-users
Subject:    Re: [darcs-users] darcsweb - A gitweb-alike web interface for darcs
From:       Alberto Bertogli <albertogli () telpin ! com ! ar>
Date:       2005-08-29 13:59:43
Message-ID: 20050829135943.GC32618 () telpin ! com ! ar
[Download RAW message or body]

On Mon, Aug 29, 2005 at 07:00:00AM -0400, David Roundy wrote:
> > 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.

Well, to me, just a tag with the patch contents would be more than enough;
even more, it's simpler to parse and work with; but maybe other people
have a real use for getting the XMLized patch.

I'll just use changes -v -p to get the diff in darcs format and parse that
for now.

Thanks,
		Alberto


_______________________________________________
darcs-users mailing list
darcs-users@darcs.net
http://www.abridgegame.org/mailman/listinfo/darcs-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic