User forums > General (but related to Code::Blocks)
How does header statement generated?
(1/1)
ollydbg:
In each cpp or header file of the code::blocks' source file, there are the code like below:
--- Code: ---/*
* This file is part of the Code::Blocks IDE and licensed under the GNU General Public License, version 3
* http://www.gnu.org/licenses/gpl-3.0.html
*
* $Revision: 4909 $
* $Id: token.cpp 4909 2008-02-27 13:15:26Z mortenmacfly $
* $HeadURL: svn://svn.berlios.de/codeblocks/trunk/src/plugins/codecompletion/parser/token.cpp $
--- End code ---
So, my question is:
these $Revision: number was modified manually? or it is generated automatically?
Thanks.
stahta01:
--- Quote from: ollydbg on July 16, 2009, 04:12:04 pm ---In each cpp or header file of the code::blocks' source file, there are the code like below:
--- Code: ---/*
* This file is part of the Code::Blocks IDE and licensed under the GNU General Public License, version 3
* http://www.gnu.org/licenses/gpl-3.0.html
*
* $Revision: 4909 $
* $Id: token.cpp 4909 2008-02-27 13:15:26Z mortenmacfly $
* $HeadURL: svn://svn.berlios.de/codeblocks/trunk/src/plugins/codecompletion/parser/token.cpp $
--- End code ---
So, my question is:
these $Revision: number was modified manually? or it is generated automatically?
Thanks.
--- End quote ---
The are tokens (Keyword Substitution) that are replaced in checked into a source control system like CVS/SVN.
Edit: added link: http://svnbook.red-bean.com/en/1.5/svn.advanced.props.special.keywords.html
Tim S.
ollydbg:
Understand now.
Thanks for your explanation!
rhf:
--- Quote from: ollydbg on July 16, 2009, 04:12:04 pm ---
So, my question is:
these $Revision: number was modified manually? or it is generated automatically?
--- End quote ---
See for example the Subversion book: http://svnbook.red-bean.com/nightly/en/svn-book.html#svn.advanced.props.special.keywords
Navigation
[0] Message Index
Go to full version