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

Multi-level tsvn:logtemplates

From: Greg Creager <greg.creager_at_hp.com>
Date: Thu, 8 Nov 2012 14:53:38 -0800 (PST)

We use a tsvn:logtemplate at the root of all our branches/trunk to populate commit dialogs. We have a use case where we need to use a different logtemplate if a file is committed to a particular directory lower down the directory tree.

e.g:

mycomp/trunk -> normal log template
mycomp/trunk/dir1/dir2/specialdir --> special log template

I placed a logtemplate prop on the lower level 'special' dir and assumed it would be used if any file in the commit fell under this directory, but what I am finding is that the lower level logtemplate is ignored unless the commit takes place at or below that level (I would have to initiate the commit on 'specialdir', if I commit at trunk I get the higher level template).

I would think the lower level template should take precedence shouldn't it?

Ideas here? How can I get a message to the user if they are committing under the 'specialdir' area? We don't have server side hooks here. Is there a property that would fire as a client-side hook without the clients being setup for it?

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-11-08 23:53:40 CET

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.