3997: Unable to post a review request

alblinov

What version are you running?

RBTools 0.7.4

What steps will reproduce the problem?

  1. make changes
  2. run rbt post

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

Failed to execute command: ['git', 'merge-base', u'bd489a66a7b42cecbf4d76b12e420a7a558f236a', 'dev']
fatal: Not a valid object name dev

What operating system are you using?

RedHat 6.6

Attach the debug out from the command.

rbt post --server=http://myserver --repository=http://mygitserver/git/myrepo.git --tracking-branch="myproduct4/dev" -d

RBTools 0.7.4
Python 2.6.6 (r266:84292, Nov 21 2013, 10:50:32)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-4)]
Running on Linux-2.6.32-504.el6.x86_64-x86_64-with-redhat-6.6-Santiago
Home = /home/user
Current directory = /home/user/myrepo
Running: git version
Checking for a Git repository...
Running: git rev-parse --git-dir
Running: git config core.bare
Running: git rev-parse --show-toplevel
Running: git symbolic-ref -q HEAD
Running: git config --get branch.myproduct4/branch/issue_1.merge
Command exited with rc 1: ['git', 'config', '--get', u'branch.myproduct4/branch/issue_1.merge']


Running: git config --get branch.myproduct4/branch/issue_1.remote
Command exited with rc 1: ['git', 'config', '--get', u'branch.myproduct4/branch/issue_1.remote']


Running: git config --get remote.myproduct4.url
Command exited with rc 1: ['git', 'config', '--get', 'remote.myproduct4.url']


Running: git config --get remote.myproduct4.url
Command exited with rc 1: ['git', 'config', '--get', 'remote.myproduct4.url']


repository info: Path: /home/user/myrepo/.git, Base path: , Supports changesets: False
Making HTTP GET request to http://myserver/api/
Running: git rev-parse refs/heads/myproduct4/branch/issue_1
Running: git merge-base 1214f3a2ef68fd7184f5545332512aaa4ad3db5b dev
Failed to execute command: ['git', 'merge-base', u'1214f3a2ef68fd7184f5545332512aaa4ad3db5b', 'dev']
fatal: Not a valid object name dev

Please provide any additional information below.

Additional question: why that is says just 'dev' but not 'myproduct4/dev'?

david
#1 david

This should be much improved with the upstream branch detection currently in rbtools master.

  • -New
    +Fixed