Hello all,

 

I am currently using svn commit hooks in our environment to trap ALL
commits.  The commit hook sends an email to my address.

 

A typical email generated by a commit looks like this:

 

>> 

Author:  mmeyer

 

Comments:  added comments

 

 

3935

U   Java Projects/sandbox/mark/schema/auf/xml/testdbupgrade.xml

<< 

 

 

How do you write a commit hook that traps on changes to a SPECIFIC file
(our database create script) so I can capture all of these changes
separately.  This would allow me to do a better job of maintaining our
alter scripts that migrate our database from one version to the next.

 

 Example:

 

I would like to hook on any changes made when this file is changed:

 

<< 

Comments:  added ip_address to conditions and added received_timestamp
to test results

 

 

3922

U   Database/trunk/MP/mysql/create/primexmp-create.sql

<< 

 

Thank you,

Mark

 

Reply via email to