Closed
Bug 144837
Opened 22 years ago
Closed 22 years ago
bonsai file display always shows trunk revisions
Categories
(Webtools Graveyard :: Bonsai, defect)
Webtools Graveyard
Bonsai
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mcs, Assigned: timeless)
References
Details
Attachments
(1 file, 1 obsolete file)
2.33 KB,
patch
|
tara
:
review+
|
Details | Diff | Splinter Review |
The file display in Bonsai always shows trunk revisions, even when browsing a branch. Steps to reproduce: 1) Start at this branch URL: http://bonsai.mozilla.org/rview.cgi?cvsroot=/cvsroot&dir=mozilla&module=MozillaBranchTinderboxAll&rev=MOZILLA_1_0_0_BRANCH 2) Click on client.mk (or any file) in the "Files" section. 3) Click on "View Blame-Annotated Source". Notice that a trunk revision is shown. The problem is that when clicking on a file, the branch information is discarded by Bonsai (e.g., rev=MOZILLA_1_0_0_BRANCH is not in the URLs that are generated). The URL for "View Blame-Annotated Source" that is generated is this: http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/client.mk&rev=&root=/cvsroot And it should be this: http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/client.mk&rev=&root=/cvsroot&rev=MOZILLA_1_0_0_BRANCH This is very annoying if you live in a branch intensive world.
Updated•22 years ago
|
Status: NEW → ASSIGNED
Reporter | ||
Comment 1•22 years ago
|
||
Actually, the precise problem is that the Directories and Files page does not include &rev=<branch> in the links to specific files (it does include them in the directory links).
Reporter | ||
Comment 3•22 years ago
|
||
Comment on attachment 85375 [details] [diff] [review] pass &rev along I have never looked at the code for cvsblame before, but shouldn't the HREF contain $revstr, not &revstr?
Attachment #85375 -
Flags: needs-work+
Comment 4•22 years ago
|
||
&$revstring, actually, it looks like it should be,
ok baloo's original testing caught some really foolish stuff and mark was right the & was a thoughto'd $
Attachment #85375 -
Attachment is obsolete: true
Comment 6•22 years ago
|
||
Comment on attachment 85543 [details] [diff] [review] a corrected and tested patch Verfied on landfill's test bonsai instance
Attachment #85543 -
Flags: review+
checked in
Status: NEW → RESOLVED
Closed: 22 years ago
QA Contact: matty → tara
Resolution: --- → FIXED
*** Bug 46482 has been marked as a duplicate of this bug. ***
Updated•8 years ago
|
Product: Webtools → Webtools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•