Build numbers using DVCS branch-per-release pattern

I have two branches in my Mercurial repo, one for production and one for future.  I'm using TeamCity's branch feature so I can build multiple branches with one project.  This is a great feature for reducing the number of builds you have to create!  

I'd like to be able to vary the build number per branch.  Currently both branches use the same build number, but I'd like to apply a different minor release version on each branch.

For example:
Production branch build number:  1.0.XXX
Future branch build number:  1.1.XXX

Reading the documentation, I don't see support for this feature:

Is there a way to accomplish this without using separate build configurations per branch?

Please sign in to leave a comment.