Visual SVN uses something called TortoiseSVN to handle a chunk of the ui. Packaged with TSVN you will find something called 'SubWCRev', so fire up the TSVN Help and have a look at 'Chapter 6. The SubWCRev Program' this chapter talks about what you are wanting to do.
On Wed, Oct 8, 2008 at 9:37 AM, kfsone <[EMAIL PROTECTED]> wrote: > > I did a bunch of searches trying to find this out, it seems like such > an obvious question that surely someone has already asked it. > > Is there some way to tell within the IDE environment what revision I > am building/have just built? > > I was thinking that, at the very least, I could add a preprocessor > macro to the .vcproj > > PreprocesssorDefinitions="BUILDING_REVISION=$Rev$" > > For the executable itself, but I want something that I can see from > the command line in any post-build step tools/batch files I write: > %BUILDING_REVISION% > > Not a big deal if not, our build process is non-trivial (involving > three platforms) so I figure I'm going to wind up using Final Builder > to supervise the build process. > > - Oliver > >

