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

Creating custom subversion keyword

From: Ketan Mandke <kmandke_at_gmail.com>
Date: Wed, 20 May 2009 19:08:39 -0500

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.

-- 
Ketan Mandke
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2338391
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-05-21 02:13:54 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.