[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: Peter McNab <mcnab_p_at_melbpc.org.au>
Date: 2005-10-18 15:27:22 CEST

Sergej Zagursky wrote:

> Hi all!
>
> 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.
>
> PS. Please, CC me.
>
> -- Sergej Zagursky, MiST land - South
>
>
I think you might be asking too much of subversion and hook scripts to
meet the myriad of possibilities.
An alternative you can make good use of is to use "Exported" code for
test purposes ans sprinkle is with whatever you like, knowing full well
it cannot be accidentally checked back in.

Peter

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

--
Received on Tue Oct 18 14:30:09 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.