[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

script to put svn revision number in c source file

From: Sean Moss-Pultz <sean_at_moss-pultz.com>
Date: 2004-03-29 05:34:00 CEST

I want to have the revision number automatically written to a source
file after a successful commit. This will then be used in a c program.
I've searched the archives and something like this:

svn status -Nqu

was suggested before. This will work for what I need but I'm not sure
where (and when) is the best place to execute the code. I'm running
1.01 on Windows 2k Server. Has anyone done this before?

Any guidance would be greatly appreciated.

Thanks!

-Sean
Received on Mon Mar 29 05:34:44 2004

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.