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

Re: idea: a revision keyword expanded only at 'svn export' time

From: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2002-12-03 00:41:58 CET

Nuutti Kotivuori <naked@iki.fi> writes:
> If someone thinks this is a good idea, this mail can probably be
> stuffed in the issue tracker as a feature request - or it can be just
> shot down right now :-)

I think it's a neat idea, but a bit too "creeping feature"ish.

If one has used export, then one already has the revision number. If
one used checkout, then grepping for a head revision in the output of
'svn status -v' is safe (because it can't be a mixed working copy).

If one hasn't used export, then the keyword wouldn't have been
expanded anyway. If one also hasn't used checkout, it might or might
not be a mixed working copy.

So the keyword doesn't buy us much in this case. You can do greppy
things to get the keyword expansion, or you can do greppy things to
get it from 'svn st' output, or 'svn info' output. Neither is much
more work than the other. The only advantage is that the keyword is
already in some file's text -- a fairly minor advantage, imho.

-K

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Dec 3 01:19:42 2002

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.