On 6 October 2011 19:45, Stefan Küng <tortoisesvn_at_gmail.com> wrote:
> On 06.10.2011 20:00, prakash wrote:
>> Hi everyone, When we commit the code a popup should appear saying the
>> list of code checklist to be completed before check in,if the user
>> reads that and click ok then only the code should be checked in.How
>> to achieve this scenario in Tortoise SVN?
>>
>> Is there any ways this can be achieved?
>
> Sorry, that's not possible. And it wouldn't work anyway.
> What you're asking for will only achieve two things:
> - it will annoy every user to no good
> - you'll train your users to click the OK button without reading the
> box. Because after about the third time that dialog pops up, they will
> just click to get rid of that annoying dialog.
>
> What you can and should do however is use an issue tracker plugin and
> block a commit if it's not assigned to an issue.
> See here for available plugins:
> http://tortoisesvn.net/issuetrackerplugins.html
> and here on how to implement your own if necessary:
> http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-ibugtraqprovider.html
Another way is to use a log message template as a prompt to fill in
more information. If you want to enforce that then you would have to
add a pre-commit hook on the server to make sure the log message has
the right parts filled in.
But I have to say that as a software developer I would hate that sort
of overhead being imposed on every commit. You are basically saying
that the developers cannot be trusted to know how much information to
give, and what checks to do on their software. I would be looking for
another job.
Simon
--
: ___
: oo // \\ "De Chelonian Mobile"
: (_,\/ \_/ \ TortoiseSVN
: \ \_/_\_/> The coolest Interface to (Sub)Version Control
: /_/ \_\ http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2850467
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-10-06 21:21:28 CEST