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