4043: default branch is always pointing to master even after changing config to mainBranch

logindian

What version are you running?

RBTools 0.3.4

What's the URL of the page containing the problem?

--

What steps will reproduce the problem?

  1. install git
  2. install RBTools 0.3.4
  3. add review board url
  4. run post-review --parent mainBranch

What is the expected output? What do you see instead?

command should run succcessfully

What operating system are you using? What browser?

linux

Please provide any additional information below.

command issued from dev branch to post code review against mainBranch :

post-review --parent mainBranch

git merge-base origin/master refs/heads/dev Failed to execute command:
['git', 'merge-base', 'origin/master', 'refs/heads/dev']
> fatal: Not a valid object name origin/master

I did changed the .reviewboardrc to tracking_branch as mainBranch but still it refers to master branch
I am not sure where to change this to compare my git dev branch code against mainBranch

david
#1 david

RBTools 0.3.4 is terribly, terribly ancient, and we aren't making any other fixes or changes to post-review. Please update to the RBTools 0.7 series and use rbt post instead.

  • -New
    +WontFix