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

Using more than one revsion or tsvn:userfileproperties

From: Tobias Totz <pass8_at_freenet.de>
Date: Mon, 2 Apr 2012 02:41:56 -0700 (PDT)

Hi @ all,

the svn:keywords I know about. But there is only one revision flag to set.

Now my question: Is it possible to make user defined keywords to replace placeholders in text files before commiting?

For example we have a text file which includes the following lines:

--- BEGIN ---
// $Revsion$
// Board: 1.0_b
// Circuit: 1.2_g
--- END ---

Is there a way to replace the numbers of the "Board" and "Circuit" by a flexible text maybe a text from the log message? So that I use a template for the log message in which I pass the parameters/numbers for the "Board" and "Circuit"?

I have also tried to use the tsvn:userfileproperties, but there is no example how to use them. Can anybody tell me at which point the user defined properties dialog should popup? See also http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=756&dsMessageId=2890333

Are this the correct way? Or do I need to execute a script in case of a commit hook which parses the file and replaces the placeholder?

Hope anybody can give me a hint

Kind regards

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2943673

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-04-02 11:43:44 CEST

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

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