Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using CVS to update a file at time of commit

Status
Not open for further replies.

robersonadam

Programmer
Mar 13, 2007
1
0
0
I am trying to use cvs to update the copyright date and information of java files when they are committed by developers. I know about the commitinfo file and have written a bash shell script to verigy the correct copy right is included. However I want to update the copy right date in the file automatically if the correct copyright is included. Has anyone ever done this?
I have a bash shell script that does this but need to know if a file can be modified before the commit occurs and how to execute the shell script to update the date.

Thanks

Adam
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top