[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-04 00:50:01 CEST

On Sat, 2005-09-03 at 23:38 +0100, Julian Foad wrote:
> There's no point in providing the ability to do arithmetic if it gives no real
> benefit.

Yes, I think that's the central point. And given that other users may
be creating revs at any moment, it's difficult to imagine how arithmetic
on rev numbers could correspond to semantically useful operations in
Subversion.

> Well, we can't add a feature just because it's possible, without any idea of
> how it will be used constructively.

Great software results from careful analysis of real-world problems and
thoughtful examination of possible solutions. Obese software results
from the far easier process of looking at an existing piece of software
and asking, "What can I add next?"
-- From the programming notebooks of a heretic, 1990

> > The idea isn't to
> > think about change sets but to save the user from having to do
> > arithmetic in their heads (possibly incorrectly). Just do it in the
> > argument and let the program calculate it for you.

If you really want to do this, why not let bash do it for you: "svn log
-r $(( 1000 + 25 ))"? We already let the shell expand wildcards...

Dale

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