2594: RB rejecting the diff Git
- UserError
- Review Board
| rajofc******@gmai***** (Google Code) (Is this you? Claim this profile.) | |
| May 28, 2012 |
What version are you running?
1.7 alpha 0 (dev)
What's the URL of the page containing the problem?
post-review --guess-summary --parent=HEAD~2
What steps will reproduce the problem?
1.create 2 branches of master --> branch a, branch b
2.create a lot of changes and push it to b and then merge with master
3.create a minor change in a and push.
What is the expected output? What do you see instead?
Expected is the diff should be accepted instead i see a error tat diff was not found.
Same thing if i try after doing a git pull in the review boards local copy ("PATH" variable in the repo) it gladly accepts the diff.
What operating system are you using? What browser?
ubuntu/firefox
Please provide any additional information below.
I'm not quite sure I understand. Is this correct? a) You're using git with a local repo (i.e. a clone of the repository exists on the reviewboard server) b) When your diff is based off of a change which has not been pulled to the local clone, it fails. c) When your local clone is up to date, it works.
-
+ NeedInfo
Thanks for the reply, yes, That is exactly the case and also i get the same problem when get a diff from non-master branch. If i branch of master everything is good.
For the first problem in the original report, there's no real solution except for changing it to use a remote repository instead of a local clone. For this to work, you'll need to have gitweb or cgit running on the "canonical" server. To post a diff against a branch which is only present in the development repository, use the --parent option for post-review.
-
- NeedInfo + UserError