On Wed, May 20, 2009 at 20:08, Ketan Mandke <kmandke_at_gmail.com> wrote:
> Hi,
>
> I would like to be able to have subversion insert the value of a
> property directly into a file using a custom keyword. For example, I
> would like to be able to set the 'copyright' property using the
> following:
>
> svn propset copyright "(c) 2009 Bob Lobla." myfile.txt
>
> And then include the keyword $Copyright$ into my code and have it
> insert the value of the property into "myfile.txt":
>
> $Copyright$ -> $Copyright (c) 2009 Bob Lobla.$
>
> Does anyone know of a way to create such a custom keyword or at least
> insert headers into code maintained in a subversion project? I
> appreciate any help you might be able to provide as I haven't been
> able to find a good solution to this online.
Subversion doesn't support custom keywords. You'll need to script your
own substitution process around Subversion, or create your own build
of Subversion that does do custom keywords.
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2338884
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-05-21 02:38:23 CEST