directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phil Steitz <>
Subject Re: [naming] svn keyword expansion
Date Fri, 24 Dec 2004 23:08:38 GMT
Thanks! See interspersed.

Robert M.Zigweid wrote:
> Firstly, on recent versions of SVN, Rev is a legitimate alias of 
> LastChangedRevision (or similar), as is Revision.

That's what the docs say, but $Revision$ is not being expanded.  When I 
do "svn propget svn:keywords" on individual source files, I get just 
"Rev" as the response. I get an empty response for directories or 
non-java files.  Could be someone executed the propset below with just 
"Rev" included?
> Secondly, it won't matter if the keyword is attached to directories.
> Thirdly, you don't want it to just apply to .java files anyway, usually, 
> though that technique would work for just hitting those files.

I agree, but those are the only files in [naming] that include the 
keywords that need to be expanded.

Thanks for the info.

> I also generally use Url and Author keywords too, but that's just me.
> On Dec 24, 2004, at 12:13 PM, Phil Steitz wrote:
>> I just noticed that the only svn keyword associated with sources files 
>> in [naming] is "Rev".  The naming sources use $Revision$ $Date$ and 
>> $Id$.  Because of this, the modification dates and revision numbers in 
>> all of the naming sources are wrong.  The docs for svn propset 
>> indicate that this can be fixed in the repo like so:
>> svn propset --recursive svn:keywords 'Revision Id Date' \ 
>> https:/
>> Then a new co should expand things correctly.  Does this look OK? Does 
>> it matter that this will hit directories?  Would svn understand 
>> **/*.java on the end of the URI? Before running with scissors through 
>> the repo, I wanted a sanity check...
>> Phil

View raw message