[PATCH 2 of 2] hgweb: add a "URL breadcrumb" to the index and repository pages

Angel Ezquerra angel.ezquerra at gmail.com
Thu Nov 29 17:39:47 CST 2012


On Fri, Nov 30, 2012 at 12:33 AM, Angel Ezquerra
<angel.ezquerra at gmail.com> wrote:
> # HG changeset patch
> # User Angel Ezquerra <angel.ezquerra at gmail.com>
> # Date 1354130486 -3600
> # Node ID be5634b8ddbdbfa4a3edbf2eeead5574c81f7632
> # Parent  d32b9fc97c2c448b0277dfd76860e564fa251190
> hgweb: add a "URL breadcrumb" to the index and repository pages
>
> The purpose of this change is to make it much easier to navigate up the
> repository tree when the hg web server is used to serve more than one
> repository.

An easy way to test this is to open a shell on your hg repository
root, create a web.conf file with the following contents:

[web]
style = paper
collapse = true

[paths]

test/hg = c:\Users\Angel\Documents\Repositories\hg-2.1
test/hg2 = c:\Users\Angel\Documents\Repositories\hg-2.1
test/test2/hg = c:\Users\Angel\Documents\Repositories\hg-2.1
test/test2/test3/hg2 = c:\Users\Angel\Documents\Repositories\hg-2.1


and then run:

hg serve --web-conf web.conf

Cheers,

Angel


More information about the Mercurial-devel mailing list