How can you automatically import the latest build/revision number in subversion?
The goal would be to have that number visible on your webpage footer like SO does.>
If you have tortoise SVN you can use SubWCRev.exe
Create a file called:
RevisionInfo.tmpl
SvnRevision = $WCREV$;
Then execute this command:
SubWCRev.exe . RevisionInfo.tmpl RevisionInfo.txt
It will create a file ReivisonInfo.txt with your revision number as follows:
SvnRevision = 5000;
But instead of using the .txt you could use whatever source file you want, and have access to the reivsion number within your source code.