We have a strange way of using repos here (and I have little control over it I'm afraid), where a root repo holds multiple projects... no fancy stuff like trunk/tags/branches folder either... (I'm so sad).
So for example the structure looks like this:
http://my.svn.root/main
|-- /Project1
|-- /Project2
...
and so on...
Now, doing svn log
on the folders will give me the latest revision number in that folder. Problem is that TeamCity seems to be doing svn info
on the root, so even if I specify a VCS root like this:
http://my.svn.root/main/Project1
the %build.vcs.number%
property seems to be picked from the main
root of the repo, so a commit in Project2 will actually advance that number (which is not what I would like).
Is there a way to tell TeamCity to use the subfolder latest commit number rather than the root revision? or a different property that does just that?
Thanks!