[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: <brane_at_xbc.nu>
Date: 2002-08-05 01:57:04 CEST

Greg Hudson wrote:

>On Sat, 2002-08-03 at 21:35, Martin Pool wrote:
>
>
>>Suppose I have version.h in my working copy, and I svn up to get new
>>changes. version.h has not actually had any changes committed, but my
>>local copy changes to get the new $WorkingRev$. Presumably its mtime
>>needs to get updated to the current time.
>>
>>
>
>Presumably if we had this feature, we would have a flag in entries.h
>which means "the text-base of this file contains $WorkingRev$". If the
>flag was set, we would know to regenerate the working contents of the
>file each time an update is done.
>

Nah, it should be enough to notice that WorkingRev is listed in
svn:keywords.

>Of course, the complexity involved here is pretty high for a feature
>which is nothing more than a neat trick to simplify build systems a
>little bit. So I'm -1 on having $WorkingRev$.
>
>

+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.

-- 
Brane ─îibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Aug 5 01:57:40 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.