RE: Warn if files match list of extensions
From: Bob Archer <bob.archer_at_amsi.com>
Date: Fri, 28 Aug 2009 09:48:39 -0400
> A rather frequent problem I have encountered is that users accidentally
When your hook fails you can return an error message. That message will be displayed to the client. There are lots of discussion about this on the svn mail list. Since this is really a server side issue you may want to ask for assistance there. However, I think some of the sample scripts include how to do this.
> However, I noticed that with the bugtraq properties configured, TSVN
Of course, this would only work if you users ONLY used TSVN. The hook script will work even if they use the command line svn or subclipse or Ankha.
You might also want to look at adding .exe and .dll as global includes. Unfortunately this is a client side setting. But, you could have your pre-commit hook include in the message a suggestion to your user to do that.
Of course, if you add these ignores to all the folders in your project there is a very small chance of them being added.
BOb
------------------------------------------------------
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
|
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.