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

Re: Feature request: Keyword $Rev$ with a twist

From: Mats Nilsson <mats.nilsson_at_xware.se>
Date: 2002-08-05 08:40:00 CEST

>+1 on your -1, especially as there's no guarantee that all of the
>working copy is at that revision. Anyway, you can get almost the same
>effect by "svn ci --force -m 'Bump revision for baseline'"'ing your
>version.h file that has a $Rev$ keyword in it.

Consider a shop where we build regularly, say continuously, a majority of a
repository's revisions would be of this kind. Clearly not favourable.

The trouble of doing a combination of 'svn info' and 'sed' to patch the
source code as a build step, is that svn will not recognize these changes
as simple keyword substitutions. It will think that the file has changed,
even though it hasn't (in a logical sense), and the file will get checked
in in a changed state, upset merges and diffs and whatnot.

The point is simply that svn sits on all information. It would be logical
to introduce this feature within svn instead of around it. And probably
less error prone too.

Mats

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Aug 5 08:48:26 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.