[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 23:30:29 CEST

On Tue, 2005-09-06 at 21:37 +0200, Lars Gullik Bjønnes wrote:
> "Dale R. Worley" <dworley@pingtel.com> writes:
>
> | 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/'
>
> Well... it would be to be a bit more complicated than this. I don't
> want a list of numbers I want only one. The revision after X.

No, what you wanted was "to do a test build for all revisions in a
branch", as you stated at the top of your message.

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 23:31: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.