Closed (fixed)
Project:
Subversion
Version:
5.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Jan 2008 at 14:29 UTC
Updated:
4 Feb 2008 at 05:01 UTC
If you are browsing within a certain repository, the id of that repository is missing in the breadcrumb links, resulting in incorrect links. I propose the following fix:
_subversion_breadcrumb($path) into _subversion_breadcrumb($path, $repo)$repo is already defined in all calls to _subversion_breadcrumb, so we can change all references _subversion_breadcrumb($path); into _subversion_breadcrumb($path, $repo);. This should be done in functions subversion_page_browse, subversion_page_file and subversion_page_log.$repo is known in _subversion_breadcrumb, we can easily insert the repository id, by changing $breadcrumb[] = l($title, 'subversion/browse'. rtrim($p, '/')); into $breadcrumb[] = l($title, 'subversion/browse/'. $repo->rid. rtrim($p, '/'));
Comments
Comment #1
halkeye commentedComment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.