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

Re: Feature request: warning on commit if a specified tag was found

From: Sergej Zagursky <gvozdoder_at_gmail.com>
Date: 2005-10-19 06:06:19 CEST

Nathan Kidd wrote:
> Sergej Zagursky wrote:
>
>> Sometimes programmers write test code into project. It'll be good if
>> such a test code didn't leak to repository. My proposal is: programmers
>> along with test code write some specific comment near test code. For
>> example:
>>
>> //DO_NOT_COMMIT!
>> if(a == 1) OutputDebugString("Hit!\n");
>>
>> TSVN can have an option to check some specific text in changed files in
>> commit dialog to ensure that no test code leaks to repository.
>>
>
> This is the job of a server-side pre-commit hook, not the client. You
> can scan the transaction for whatever strings you like and fail the
> commit if it matches.
>
> Sorry, I don't have any example scripts though.
>
> -Nathan
>
>
Thanks for the information! I'll try it.

-- Sergej Zagursky, MiST land - South

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org

--
Received on Wed Oct 19 09:33:05 2005

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.