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

Re: Revision Arithmetic

From: Dale R. Worley <dworley_at_pingtel.com>
Date: 2005-09-06 17:35:24 CEST

On Sun, 2005-09-04 at 13:01 +0200, Lars Gullik Bjønnes wrote:
> F.ex. I want to do a test build for all revisions in a branch.
>
> I decide to start at r100... the next rev on the branch where anything
> changed might be r105 (but I don't know this yet). So I just "svn up
> -r+1"
>
> In URL to get the next revision number instead of updating to it.

Why isn't it better to extract the rev numbers out of 'svn log -q' with
sed?

svn log -q --stop-on-copy | sed -e '/^-/d' -e 's/^r\([0-9]*\) .*$/\1/'

Dale

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Sep 6 17:36:15 2005

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

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