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

RE: Re: Request for more hooks

From: Andrew Simpson <tsvn-357654_at_simpsonite.com>
Date: Thu, 12 Mar 2009 13:29:44 -0700 (PDT)

>
> TSVN already has a facility for setting a log template.
> tsvn:logtemplate
> http://tortoisesvn.net/docs/nightly/TortoiseSVN_en/ch05s15.html

Good point, well made. However, this only works when actions are performed
on a working copy. If an action is performed from the repo-browser, the
template will not be read from the properties.

I believe TortoiseSVN doesn't read the properties when actions are done via
the repo-browser because of performance reasons - I can't remember where I
read it, but it makes sense. Hence there's a need for a local hook that
can generate the appropriate template based on the URL the action is
performed on.

>
> > The enforcement can be done easily enough at the server, but we would
> > like TortoiseSVN to generate the template for us. <snip>
>
> The enforcement must be done at the server, because you can't be
> guaranteed that every user will be using TSVN. Even if they are using
> TSVN, they could edit the template and violate your standard.

I agree - that's why I said it :)

We only want TSVN to *generate* the log template, not enforce it. It would
serve as a reminder to the users that they need to enter the information
asked for in the template. Yes, they could delete it or tamper with it,
but for certain operations (commits to the trunk or release branches,
creating tags and branches, etc.), the server would reject the commit.

And, yes, we do have one team member who does not use TSVN, for reasons
that I won't go into :( But when we enforce the log templates, he'll have
to have some way of generating the same template, else all of his commits
will fail...

Regards,
Andrew

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-03-12 21:32:29 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.