[Bug 3797] New: hgweb: drop breadcrumbs link to root if prefix is used
mercurial-bugs at selenic.com
mercurial-bugs at selenic.com
Fri Feb 1 05:46:18 UTC 2013
http://bz.selenic.com/show_bug.cgi?id=3797
Priority: normal
Bug ID: 3797
CC: mercurial-devel at selenic.com
Assignee: bugzilla at selenic.com
Summary: hgweb: drop breadcrumbs link to root if prefix is used
Severity: bug
Classification: Unclassified
OS: Linux
Reporter: thomas at intevation.de
Hardware: PC
Status: UNCONFIRMED
Version: 2.5-rc
Component: hgweb
Product: Mercurial
As discussed in issue 3790 (hgweb: breadcrumbs have problems when prefix is
used):
Angel Ezquerra wrote:
I believe that when the prefix option is used the "root" of the mercurial
server is the prefix. We should never create a link that goes above that
"root". That means that the top "Mercurial" link in the breadcrumb should link
to "/prefix" rather than "/".
So I think that the we should simply prefix all links with the selected prefix,
including the "Mercurial" "top" link, and we should never show the prefix
itself on the breadcrumb text.
That is, in the provided scenario that shows this bug, the breadcrump should
be:
Mercurial > test > hg
Where:
- "Mercurial" links to "/foo"
- "test" links to "/foo/test"
- "hg" links to "/foo/test/hg"
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list