You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by ms...@softhome.net on 2006/12/05 00:03:33 UTC

beyond embedding basic keywords in a file

I have read everything I could find about keyword expansion in SVN and 
believe I understand the mechanism thoroughly. Besides the basic set of 5 
keywords, is there any way to embed anything else? For example, a tag name. 
(I found that very convenient with RCS, where I could embed the symbolic 
name of a release within each file.) Or more generically, any SVN 
properties? That would make it really handy to be able to embed a copyright 
notice within a file and to be able to update it globally! 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: beyond embedding basic keywords in a file

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Dec 4, 2006, at 18:03, msorens@softhome.net wrote:

> I have read everything I could find about keyword expansion in SVN  
> and believe I understand the mechanism thoroughly. Besides the  
> basic set of 5 keywords, is there any way to embed anything else?  
> For example, a tag name. (I found that very convenient with RCS,  
> where I could embed the symbolic name of a release within each  
> file.) Or more generically, any SVN properties? That would make it  
> really handy to be able to embed a copyright notice within a file  
> and to be able to update it globally!

Subversion keyword expansion only supports the keywords described in  
the documentation.

http://svnbook.red-bean.com/en/1.2/ 
svn.advanced.props.html#svn.advanced.props.special.keywords

Note that Subversion doesn't really have a "tag name"; if you're in a  
tag, then the tag name is part of the URL, and $URL:$ is one of the  
supported keywords.




-- 
To reply to the mailing list, please use your mailer's Reply To All  
function


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: beyond embedding basic keywords in a file

Posted by Matt Sickler <cr...@gmail.com>.
right now theres only support for the svn:keywords tags
there is a (quite large) discussion about adding support for more somewhere
on this list
it definitly would be nice to be able to define our own
one hack ive heard mentioned is to have your installer script delve into the
svn keywords and do the substitutions itself

On 12/4/06, msorens@softhome.net <ms...@softhome.net> wrote:
>
> I have read everything I could find about keyword expansion in SVN and
> believe I understand the mechanism thoroughly. Besides the basic set of 5
> keywords, is there any way to embed anything else? For example, a tag
> name.
> (I found that very convenient with RCS, where I could embed the symbolic
> name of a release within each file.) Or more generically, any SVN
> properties? That would make it really handy to be able to embed a
> copyright
> notice within a file and to be able to update it globally!
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>