On 4/14/07, Ralph Versteegen <[EMAIL PROTECTED]> wrote:
> I think it would be great if game and custom knew their exact SVN
> revision number. Maybe they could show the date of that commit rather
> than the compile date too. SVN post-commit hook, anyone? It would be
> great for getting info from people reporting bugs.

Add $Revision$ somewhere in the source (where you want it perhaps) and
it will auto-expand if you set the svn:keywords property to contain
"Revision". I prefer $Id$ though, so the svn:keywords property should
contain $Id$ in this instance.

svn propset svn:keywords "Id Revision" *.bas

(and I think)

CONST RevisionNumber = "$Revision$"

(which will expand to)

CONST RevisionNumber = "$Revision: 320$"

-- 
Keith Gable
Lead Programmer / Project Leader
The Ignition Project <http://www.ignition-project.com/>

[Ask me how you can get a free Gmail account - Now with Google Chat!]
_______________________________________________
ohrrpgce mailing list
[EMAIL PROTECTED]
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org

Reply via email to