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

Re: $ThisRev$ keyword (not a joke... I think)

From: Nicholas Riley <njriley_at_uiuc.edu>
Date: 2002-09-28 09:53:24 CEST

On Fri, Sep 27, 2002 at 11:25:24PM -0500, Karl Fogel wrote:
> You know what I really want? A keyword "$ThisRev$" that expands at
> commit time to "revision N", i.e., it's not a keyword thereafter.
> That way I could write comments like
>
> /* As of $ThisRev$, this code no longer does blah, because [...] */
>
> without having to guess at the upcoming revision number :-).
>
> Of course, they way keywords are currently handled, one would still
> have to set a property for $ThisRev$ to get expanded correctly, but
> maybe we could make it a config option or something...
>
> Thoughts? Flames? Rotten tomatos? :-)

How about a general-purpose syntax similar to $xyz$ which just
substitutes once? Perhaps $OnCommit$xyz$? I could see it being
useful for other keywords as well.

-- 
=Nicholas Riley <njriley_at_uiuc.edu> | <http://www.uiuc.edu/ph/www/njriley>
        Pablo Research Group, Department of Computer Science and
  Medical Scholars Program, University of Illinois at Urbana-Champaign
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Sep 28 09:54:02 2002

This is an archived mail posted to the Subversion Dev mailing list.