/ Published in: SVN
Substitute and update keywords like $HeadURL$, $Revision$, etc. in a file on every commit to subversion repos.
1. Set svn:keywords on repos:
$ svn propset --recursive svn:keywords 'HeadURL Revision LastChangedBy Date' /path/to/repo
2. Use this source in your file.
1. Set svn:keywords on repos:
$ svn propset --recursive svn:keywords 'HeadURL Revision LastChangedBy Date' /path/to/repo
2. Use this source in your file.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/** * Short description for file. * * Long description for file * * PHP 5 * * Copyright (c) 2007, Company Name * Street address * City, State, Zip * * * @filesource $HeadURL$ * @copyright Copyright (c) 2007, Company Name * @link http://www.companywebsite.com CompanyName * @package #### PACKAGE NAME #### * @sub-package #### SUBPACKAGE NAME #### * @since #.#.# //Correct version number as needed * @version $Revision$ * @author Your Name * @modifiedby $LastChangedBy$ * @lastmodified $Date$ */
URL: http://myeasyscripts.com/loudbaking/docblock-and-svnkeywords/