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

Command line Output Parser

From: Ahmed Reza <ahmedrezat_at_gmail.com>
Date: 2007-05-24 21:24:13 CEST

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.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu May 24 21:24:33 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.