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

svnversion windows .bat file for C#

From: Christopher Ness <chris_at_nesser.org>
Date: 2006-02-09 19:42:59 CET

Hi *,

I'm not on the users list, so please reply all if you want me to see the

I have written a batch file for windows that outputs a C# class which can
be included in your project to get the status of the working copy the
project was built on.

Using a batch file to allow 2000 & XP windows system to run with only a
dependency on `svnversion`. No need for python, perl, etc on the build

Preferably this should be hooked to the build system in visual studio to
be run pre-build.

Find attached and remove the .txt extension to use.

  genSvnVer.bat <namespace>

If it is found to be useful, please place in contrib as that was the first
place I looked for an example, then the ML.

Thanks to Dominic Anello on the ML for pointing out how to use the FOR
loop to get `svnversion` output into an environment variable.



To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Received on Thu Feb 9 19:44:59 2006

This is an archived mail posted to the Subversion Users mailing list.