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

Re: Revision keywords and arithmetics

From: Karl Auer <kauer_at_biplane.com.au>
Date: 2006-01-30 11:33:59 CET

> > > > > How about enhancing revision (-r) option, to do arithmetical operations
> > > > > (Add & Sub) on revision keywords like "svn log URL -r HEAD-100:HEAD".
> > > > Why?
> Otherwise user had to do atlest 3 operations
> 1. Get respective (HEAD, BASE...) revision using 'svn info' command
> 2. calculate the target revision
> 3. call svn command with this target revision

I don't understand why anyone would want to *calculate* a target revision. Most people want to know exactly what revisons are involved in the operations they carry out. They don't just want "the last 20" (or "the first 37" or whatever).

It seems most unlikely to me that a user might not know what revision number is needed, but *did* know how far away it was numerically from (say) HEAD.

So let me rephrase the question: What exact problem does your suggestion solve?

I'm not against your idea, I just haven't seen the point of it yet...
Regards, K.

Karl Auer (kauer@biplane.com.au)                   +61-2-64957160 (w/h)
http://www.biplane.com.au/~kauer/                  +61-428-957160 (mob)
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jan 30 11:36:08 2006

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.