Opened 19 years ago
Closed 19 years ago
#3020 closed defect (fixed)
Browsing past sourcecode links to wrong filerevision
Reported by: | Owned by: | Christian Boos | |
---|---|---|---|
Priority: | high | Milestone: | 0.9.5 |
Component: | version control/browser | Version: | 0.9.4 |
Severity: | major | Keywords: | browser revision plain text raw link |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
When browsing sourcecode for a past revision, the "Download in other formats"-links points to the wrong location.
example:
if I'm browsing this file: "browser/filename.java?rev=9", the link for the "Original file" points to: "/browser/filename.java?rev=1&format=raw"… which is the wrong revision of the file.
The "Plain text"-link is also wrong.
Attachments (0)
Change History (5)
comment:1 by , 19 years ago
Keywords: | browser revision plain text raw link added |
---|
comment:2 by , 19 years ago
Milestone: | → 0.9.5 |
---|---|
Owner: | changed from | to
Priority: | normal → high |
Severity: | normal → major |
comment:3 by , 19 years ago
Are you sure that revision is really the wrong one? The links will use the version number of when the file was actually changed. If you're looking at a file at version 9, but that file wasn't modified between versions 1 and 9, then the links will point to version 1, which is actually the same file.
comment:4 by , 19 years ago
Status: | new → assigned |
---|
Matt, I believe this bug is most certainly a duplicate of #2949,
which manifests itself when the file has been moved in between
the two revs (e.g. if in the above example, the filename.java
doesn't exist at rev 1).
This was fixed in trunk, but I think we should fix it also in 0.9-stable.
Would you mind testing the following patch?