Closed Bug 1049038 Opened 12 years ago Closed 12 years ago

'Blame' link to hg.mozilla.org does not preserve the chosen line number

Categories

(Webtools Graveyard :: DXR, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1007293

People

(Reporter: emorley, Unassigned)

Details

1) Go to http://dxr.mozilla.org/mozilla-central/source/build/mobile/remoteautomation.py 2) Click a line number, eg 50 3) Scroll up and use the "Blame" link top right. 4) Observe the resultant page URL 5) Repeat #1 except using MXR, eg http://mxr.mozilla.org/mozilla-central/source/build/mobile/remoteautomation.py Expected: hg.mozilla.org URL with line number specified at the end, eg: http://hg.mozilla.org/mozilla-central/annotate/1aab16f74817/build/mobile/remoteautomation.py#l50 Actual: No line number: http://hg.mozilla.org/mozilla-central/annotate/71497ed2e0db/build/mobile/remoteautomation.py It would be great if this also worked for when navigating to a DXR URL directly, without the click on the line number - eg: http://dxr.mozilla.org/mozilla-central/source/build/mobile/remoteautomation.py#50 (this latter case doesn't currently work for MXR either)
http://dxr.mozilla.org/mozilla-central/source/build/mobile/remoteautomation.py#50 actually does work, at least for me. But otherwise, this is a duplicate of bug 1007293 (which we absolutely should fix).
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
(In reply to Erik Rose [:erik][:erikrose] from comment #1) > http://dxr.mozilla.org/mozilla-central/source/build/mobile/remoteautomation. > py#50 actually does work, at least for me. I think the "It would be great if this also worked" part of comment 0 might not have been clear enough - it's a dupe of bug 1007293 too. Thank you :-)
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.