Adding support for SVN

Dec 11, 2009 at 10:45 AM

Hi,

I'm trying to implement an auto system for updating a revision number with SVN.

SVN allows you to put a keyword in a file and then it will update it on commit, however it will only update it when the file is changed. Hence I wanted to use this plugin to automatically update a file and cause it to be in every commit.

I made a version.cs in the project and put:

[assembly: AssemblyVersion("1.0.$Rev$.0")]
[assembly: AssemblyFileVersion("1.0.$Rev$.0")]

And just set it to timestamp the last number, ideally though I though timestamp would be full like: YYYYMMDD etc.

I just get exceptions as expected as $Rev$ isn't a number. But in the source code I notice you handle "*" so is there a way to easily enable it to work and just put $Rev$ back after its updated the last number?

Thanks for any help

Phil