I want to prevent SVN commit ..if in JAVA file below mention lines are present..
System.out.println();
printStackTrace();
I want to prevent SVN commit ..if in JAVA file below mention lines are present..
System.out.println();
printStackTrace();
You can use a pre commit hook to run a script just prior to commit completion.
Check this SO post for sample script scanning for particular string.