[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: Rainer Sokoll <R.Sokoll_at_intershop.de>
Date: 2007-09-16 11:12:40 CEST

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 11:09:13 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.