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

Re: Regarding a popup while commit the code

From: Simon Large <simon.tortoisesvn_at_gmail.com>
Date: Thu, 6 Oct 2011 20:20:57 +0100

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

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.