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

RE: To Get selected filenames before commit

From: Hans-Emil Skogh <Hans-Emil.Skogh_at_tritech.se>
Date: Wed, 23 Mar 2011 08:22:10 +0000

Hi Achar!

> I would like to write a pre-commit hook script which checks for some
> information in each file which has to be committed by parsing the file
> before commiting. If the file content matches with my rules, then it should
> allow commit else it should display error.

If you have access to the server with the repository then you will probably want to do this as a server side hook (preferred solution):

Otherwise you will have to settle for client side hooks:

In any case you should ask any further questions in either the SVN users list or the TSVN users list, as this list is focused on the development of TSVN.

Good luck!



To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-03-23 09:22:22 CET

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.