>
> 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