How to get revision number of branch

When i run a custom build and overwrite trunk checkout rules to path of branch, how can i get current revision number of branch?

Please sign in to leave a comment.