Does any one know if there is a way to access a solution/project's revision number from SVN and incorporate this in application code at compile time?
Thanks
To find information about the history of a file or directory, use the svn log command. svn log will provide you with a record of who made changes to a file or directory, at what revision it changed, the time and date of that revision, and, if it was provided, the log message that accompanied the commit.
If you want to see what changed in that revision, try pointing svn log directly at the topmost URL of your repository, as in svn log -r 2 ^/ .
As we described in the section called “Revisions”, revision numbers in Subversion are pretty straightforward—integers that keep getting larger as you commit more changes to your versioned data. Still, it doesn't take long before you can no longer remember exactly what happened in each and every revision.
Use the merge dialogIn your working copy select TortoiseSVN → Merge. In the Merge Type dialog select Merge a range of revisions. In the From: field enter the full repository URL of your working copy folder. This should come up as the default URL.
Disclaimer: I was a member of the project at the time of writing this. Though, I still recommend AutoBuildVersion.
Yes, AutobuildVersion does together with the SVN PlugIn provide such a functionality.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With