[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: Lars Gullik Bjønnes <larsbj_at_gullik.net>
Date: 2005-09-07 00:17:44 CEST

Philip Martin <philip@codematters.co.uk> writes:

| larsbj@gullik.net (Lars Gullik Bjønnes) writes:
>> 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.
>> It is actually possible that soemthing like
>> let nextrev=`svnversion .`+1 ; svn up -r $nextrev
>> will do exactly what I want.
| Not if your working copy is mixed-revision or modified.
>> but I want to be able to do the same with URL.
>> (similr that is)
| To find the first change after r16000 on the Subversion 1.2.x branch
| $ U=http://svn.collab.net/repos/svn/branches/1.2.x
| $ svn log -q --limit 1 --r16001:HEAD $U | awk '/^r/print {$1}'
| r16036

btw. I am not saying that any of this is impossible without revision
aritmetic, but I might be (a lot) simpler with it.

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Sep 7 00:18:26 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.