If you want the revision number in your program version number, you need an additional tool to do that. You can find the tool SubWCRev.exe on the download page on our website or in your TortoiseSVN Folder under bin.
This tool traverses your whole working copy for the most recent revision. Once that revision is found, it replaces all occurrences of the following strings:
As an example, have a look at the file version.in in the TortoiseSVN source tree.
This file is used in TortoiseSVN and its resource files. The SubWCRev.exe tool is called from the build script like this:
SubWCRev.exe path\\to\\working\\copy version.in version.h
This creates a new file version.h with all the strings above replaced with the values of the working copy. The version.h file is then used in the project itself and included in the resource files for the version information.