2308: post-review is gives error while posting git commits

anshul1*******@gmai***** (Google Code) (Is this you? Claim this profile.)
Dec. 24, 2012
What version are you running?
ReviewBoard 1.6.1
RBTools 0.3.4

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

NA

What steps will reproduce the problem?
1.Create a git repository in Reviewboard (as Admin) (the repo names end in /path/to/gitrepo/.git
2. Clone from this master repo to your area. Make some changes and commit
3. Try 'post-review' from the new clone

What is the expected output? What do you see instead?
Expected: Git diff from origin to be uploaded to ReviewBoard

Actual Output:
The repository path "/path/to/gitrepo" is not in the
list of known repositories on the server.

What operating system are you using? What browser?

NA

Please provide any additional information below.

In version 0.3.4 RBTools , post-review : line 2857 should be url = origin_url.rstrip('/')+'/.git'  (Since the Reviewboard stores repo names as /.git)
david
#1 david
The best way to handle this is to use the REPOSITORY setting in .reviewboardrc

http://www.reviewboard.org/docs/manual/1.7/users/tools/post-review/#repository
  • +SetupIssue