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

Re: Format of svn command output

From: Steve Greenland <steveg_at_lsli.com>
Date: 2005-03-02 23:34:16 CET

On Wed, Mar 02, 2005 at 11:14:59PM +0100, Arild Fines wrote:
> Steve Greenland wrote:
> > I think the output of all the commands is in a "structured format".
> > That is, some effort has gone into making the output parseable, and
> > the structure is not modified lightly.
> Some of the core developers seem to disagree with you:
> http://subversion.tigris.org/issues/show_bug.cgi?id=2069

Well, I'm not sure that pointing out flaw in one particular instance
is "disagreeing" with my general point, but sure, the assumption that
usernames would not contain spaces is a bug w.r.t. parsing the output
of "svn status". OTOH, if your environment doesn't use such names, then
you're okay. In general, the output of svn commands is pretty well
thought out for further processing, particularly for the occasional
adhoc unix pipeline.

And if someone want to define a general XML schema for svn output, and
implement it, I certainly wouldn't object.


"Outlook not so good." That magic 8-ball knows everything! I'll ask
about Exchange Server next.
                           -- (Stolen from the net)
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Mar 2 23:37:18 2005

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.