3194: Automatically determine subversion branch

daniel.*******@remco***** (Google Code) (Is this you? Claim this profile.)
What version are you running?
ReviewBoard 1.7.21, rbt tools 0.5.5

What's the URL of the page this enhancement relates to, if any?
http://mercury/admin/db/scmtools/repository/add/

Describe the enhancement and the motivation for it.
We use subversion with a repository that contains dozens of sub-repositories each with dozens of branches.  For instance, our base repository path may be https://svn/, under that is
https://svn/repo1
https://svn/repo2
https://svn/repo3
...
and within a repo is
https://svn/repo1/branches/branch1
https://svn/repo1/branches/branch2
https://svn/repo1/branches/branch3
...

It would be have ReviewBoard know the exact branch the subversion diff is created from.  Using rbt post from the branch in question, this seems quite doable.

The current workflow is all users need to manually type in the branch (or put it in each .reviewboardrc file in each branch they work on).  Of course this is done inconsistently.

rbt post would ideally be able to pull this from the URL of the working copy it is run from.


What operating system are you using? What browser?
Windows 7, Google Chrome 32

Please provide any additional information below.
david
#1 david
  • +Component-RBTools
chipx86
#2 chipx86
  • +Project-RBTools
david
#3 david
  • -reviewboard
    +rbtools
  • -Project:RBTools