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

Re: Add Header comment to php files

From: Maddes <maddes_svnlists_at_arcor.de>
Date: 2007-09-16 13:13:38 CEST

Please refer to
http://svnbook.red-bean.com/en/1.4/svn.advanced.props.special.keywords.html

Regards
Maddes
http://www.maddes.net/

On 16.09.2007 11:12, Rainer Sokoll wrote:
> On Sun, Sep 16, 2007 at 10:03:28AM +0100, Dave Conley wrote:
>> 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
>> ***************************************************/
>
> Don't do that. You would alter the file that is committed to thae
> repository without notifying the client, so the client still thinks
> the file in the repo is the same as the file in the wc.
>
> Use svn:keywords instead.
>
> Rainer
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Sep 16 13:09:56 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.