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

Add Header comment to php files

From: Dave Conley <realworld_at_blazefans.com>
Date: 2007-09-16 11:03:28 CEST

Is there any way in SVN maybe using hooks I don't know where I could add
a header comment to the top of the php files I commit to my svn
repository. The ideal would be something like this:

/**************************************************
* File : myfile.php
* Last modified: 16th September 2007
* Last edited by: dconley
* Last modified revision: 3421
***************************************************/

The revision number being the most important thing I want to acheive
here. Anyone who checks out the file should be able to see the last
modified revision for that file. I want to write a seperate script that
could parse these files and get their revision numbers. Is this possible?

Cheers
Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Sep 16 11:00:01 2007

This is an archived mail posted to the Subversion Users mailing list.

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