unable to generate a link showing a file changes based on its path

Bug #260363 reported by Nicolas Savoire
12
Affects Status Importance Assigned to Milestone
loggerhead
Fix Released
Medium
Unassigned

Bug Description

Hello,

loggerhead accepts file_ids or paths in most places except for changes page where filter_file_id must provided as a file_id.
Could it be possible to change loggerhead to be able to view changes to a file through an url such as:
http://bazaar.launchpad.net/~bzr/bzr/trunk/changes/head:/setup.py

Attached is a patch that seems to achieve such a behaviour.

Thanks for loggerhead, it's a real nice web interface for bzr.

Related branches

Revision history for this message
Nicolas Savoire (nicos-maunakeatech) wrote :
Revision history for this message
Nicolas Savoire (nicos-maunakeatech) wrote :

Sorry for the double bug submission, I mistakenly clicked twice on the button.
The patch I submitted fails when no argument is given (no path and no filter_file_id), here is a corrected patch.

Revision history for this message
Martin Albisetti (beuno) wrote :

Thanks for the bug and patch!
Looking into the code to see if we can abstract this a little bit more.

Changed in loggerhead:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Martin Albisetti (beuno) wrote :

Branch available!

Martin Albisetti (beuno)
Changed in loggerhead:
status: Confirmed → Fix Committed
Martin Albisetti (beuno)
Changed in loggerhead:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.