It's easy!

just include $Revision$, $Id$, $Date$ etc. You then need to set the
svn property svn:keywords to a space separated list of the variables
to be auto-replaced on the file, Subversion will handle all the
replacements on commit.

see 
http://svnbook.red-bean.com/nightly/en/svn.advanced.props.special.keywords.html
for more info.

Simon
http://www.simonellistonball.com/

On Apr 15, 11:11 am, Haris <[EMAIL PROTECTED]> wrote:
> How can I build SVN based comments that'll fetch SVN details from the
> repository(or .svn files) and append them to the updated files/file.
> This is similar to what CakePHP developers do.
>
> /* SVN FILE: $Id: inflections.php 6311 2008-01-02 06:33:52Z phpnut $
> */
>  * @filesource
>  * @version                     $Revision: 6311 $
>  * @modifiedby          $LastChangedBy: phpnut $
>  * @lastmodified        $Date: 2008-01-02 11:33:52 +0500 (Wed, 02 Jan 2008) $
>  */
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to