[Bug 5081] New: Header incorrect with baseurl, descend/collapse turned on
mercurial-bugs at selenic.com
mercurial-bugs at selenic.com
Wed Feb 3 19:37:57 UTC 2016
https://bz.mercurial-scm.org/show_bug.cgi?id=5081
Bug ID: 5081
Summary: Header incorrect with baseurl, descend/collapse turned
on
Product: Mercurial
Version: 3.7
Hardware: PC
OS: Windows
Status: UNCONFIRMED
Severity: bug
Priority: wish
Component: hgweb
Assignee: bugzilla at selenic.com
Reporter: ander958 at gmail.com
CC: mercurial-devel at selenic.com
Created attachment 1899
--> https://bz.mercurial-scm.org/attachment.cgi?id=1899&action=edit
Screens
I'm using Mercurial 3.7 and the latest version of hgweb.cgi
In hgweb.config, I have the following options set:
[paths]
/ = D:\repositories\*
[web]
descend = True
collapse = True
baseurl = /hg/
1.
>From the main view at https://example.com/hg, the header looks like this:
Mercurial
2.
After clicking a collapsed subfolder "Foo" the URL is
https://example.com/hg/Foo, the header looks like this:
Mercurial > Foo
3.
Clicking a repo "Bar" in that subfolder, the URL is
https://example.com/hg/Foo/Bar, the header looks like this:
Mercurial > hg > Foo > Bar
In all cases, clicking "Mercurial" takes me to https://example.com. In case 3,
clicking "hg" takes me to https://example.com/hg and clicking "Foo" takes me to
https://example.com/hg/Foo. In case 2, clicking "Foo" takes me to
https://example.com/Foo, which is usually a 404.
Screens attached, Foo is a folder and Bar is a repo. Please let me know if
there is other information I should have included.
Thanks!
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list