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

Re: Extracting URL from WC

From: Andy Levy <andy.levy_at_gmail.com>
Date: 2007-12-18 03:39:11 CET

On Dec 17, 2007 9:05 PM, Eric Hanchrow <offby1@blarg.net> wrote:
> >>>>> "Kenneth" == Kenneth Porter <shiva@sewingwitch.com> writes:
>
> Kenneth> I want to report for a given application build what
> Kenneth> Subversion repo URL (eg. trunk or which branch) the
> Kenneth> source was drawn from. I expect I could parse it out of
> Kenneth> "svn info" output, but I'm wondering if there's a
> Kenneth> shortcut for this.
>
> I doubt there's a shortcut, but keep in mind that "svn info", like
> most svn commands, has an --xml option, which, not surprisingly,
> causes it to emit XML. In theory, XML is easy to parse :-)

I think --xml may have been added to info in 1.4.

The output of svn info, whether it be XML or plain text, is pretty
easy to parse.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Dec 18 03:39:32 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.