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

Re: Subversion wishes / proposed enhacements

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2003-08-11 17:17:32 CEST

Nahuel Greco wrote:

> On Mon, 11 Aug 2003 11:08:26 -0400
> Garrett Rooney <rooneg@electricjellyfish.net> wrote:
>
>
>>>Is important to me to have a way to reference (and to have replace keywords)
>>>a file by a number that increases only when that file is changed.
>>
>>You already have that. The $Rev$ (aka $LastChangedRev$) keyword will
>>expand to the revision in which the file last changed. If the file
>>isn't modified in a commit, this number will not change.
>
>
> No, I want to have a $Rev$ incremented by one for each change. So, for example,
> if I see a file with $LocalRev 3$ and other with $LocalRev 444$ i will know
> which one has more work. This was discussed on IRC a month ago.

Well, that's not what you said ;-)

You said you wanted something that increases only when the file changes.
  This does increase only when the file changes, it just increases by an
indeterminate amount each time ;-)

Seriously, using the number of times a file has changed as a reflection
of anything other than the number of times it has changed is a bad idea.
  A high number of changes doesn't really map to "amount of work", or
anything meaningful in all cases.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Aug 11 17:18:20 2003

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.