I am using TeamCity to build my private repository and everything is working fine. Now, I want to test pull requests before they are merged to master. I followed this link http://hadihariri.com/tag/oss/ which uses a github repository. However, it does not seem to work. The author mentions that "When a pull request is made, GitHub automatically creates a reference that holds the pull request as well as one that is a merge with the master branch"
Is this the same is bitbucket? So if I use "+:refs/pull//head" or "+:refs/pull/(/merge)" it should work?