Should not generate revisioned URLs unless specifically needed

Bug #240504 reported by Olav Vitters
This bug report is a duplicate of:  Bug #128926: code browser is not very linkable. Edit Remove
4
Affects Status Importance Assigned to Milestone
loggerhead
Confirmed
Undecided
Unassigned

Bug Description

Comparing viewvc to loggerhead, viewvc has *much* nicer URLs.

Example:
  http://svn.gnome.org/viewvc/mango/trunk/docs/schemas/

Compared to (gives a traceback ATM):
  http://bzr-mirror.gnome.org:9876/mango/trunk/files/136?file_id=42@9f8299ed-861a-4ad2-a792-dd2389c2f523:trunk:docs%2Fschemas

Above URL is way more complicated. I just want to browse a directory.. I haven't specified a revision, so it should just leave that out.

At most I'd like an URL like:
  http://bzr-mirror.gnome.org:9876/mango/trunk/files/docs/schemas/

(extra /files)

Revision history for this message
Robert Collins (lifeless) wrote :

This may be a duplicate. I know that the generated URL's frustrate the current maintainers of loggerhead. While they are machine accurate they are not human friendly.

Changed in loggerhead:
status: New → Confirmed
Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

Hey, at least the code running on bzr-mirror.gnome.org has revnos in the links not revids :) (and bzr-svn revids, at that).

Generating links with paths rather than file_ids is a little bit harder because the file path can change depending on the revision that you are generating the link for ...

(the bug with the annotate file links not working is fixed in my branch, btw, it was missing some url quoting)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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