Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 2177 by [email protected]: git branch is not used
http://code.google.com/p/reviewboard/issues/detail?id=2177
* NOTE: Do not post confidential information in this bug report. *
* If you need immediate support, please contact *
* [email protected] *
What version are you running?
1.5.5
What's the URL of the page containing the problem?
What steps will reproduce the problem?
1. commit a change to non-master branch
2. open a review for the change, specify branch name
3. try to view the diff
What is the expected output? What do you see instead?
Instead of showing the diff applied to the specified branch, the diff is
applied to the master branch, or failed to apply if the master branch and
the branch that the diff came from have divered significantly
What operating system are you using? What browser?
Please provide any additional information below.
Although the review request contains branch field, it happens not to be
used for fetching the file from raw file URL. The fields which can be
passed are <revision> and <filename>. With this information, for instance
cgit will output file from the default (master) branch.
Additional field <branch> could be used in raw file url. Hence the url for
cgit would look like:
http://servername/browse/gtk+/plain/<filename>?id2=<revision>&h=<branch>
--
You received this message because you are subscribed to the Google Groups
"reviewboard-issues" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/reviewboard-issues?hl=en.