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

Re: Filtering svn info output

From: Tyler Roscoe <tyler_at_cryptio.net>
Date: Mon, 15 Jun 2009 08:42:37 -0700

On Mon, Jun 15, 2009 at 11:24:57AM -0400, Georges Labrèche wrote:
> When executing the svn info command I'd like to filter the output so that we only display the Revision information.
>
> This would greatly facilitate parsing out that information in my build script.

I think most people just do something like:

svn info | grep ^Revision

If this is already in a build script, just use your build script's
language to do this. You could also use --xml and parse that.

tyler
Received on 2009-06-15 17:43:29 CEST

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.