[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Command line Output Parser

From: Jeremy Wilkins <jeremy_at_ibexinternet.co.uk>
Date: 2007-05-25 13:54:25 CEST

I know svn log has a --xml option to output xml, don't know if the
other commands do though. If so then you could parse with a normal
xml parser.

bye

---
Jeremy Wilkins
On 24 May 2007, at 20:24, Ahmed Reza wrote:
> Hi All,
>    I've been working in a little C# app that would basically be a
> partially functional svn client (i.e. checkout, add, commit... the
> basics).  I'm using Process to basically do a command line operation
> and I was wondering if anyone out there already has a parser for the
> subversion command line.  If not, the other issue I'm running up
> against is error handling/formatting the message from subversion.
> i.e. say I add a new file name Textfile.txt, the output is:
> A c:\MyClientFolder\Textfile.txt
>
> so far, I've just been testing on the commmand line an figuring out
> that A means add and seeing how outputs are formatted and what the
> various symbols and letters mean.  Is there a guide to all the error
> and non-error codes that the subversion CLI could generate?  That way
> I wouldn't have to type in every svn command with failure senarios,
> etc. and I could just stick the outputs that subversion is supposed to
> give in my parser.  I would appreciate any info on this.
>
> Regards,
> Ahmed
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri May 25 13:54:43 2007

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.