hgwebdir.cgi and subdirectories

Matt Schulte matts at commtech-fastcom.com
Tue Aug 31 13:47:10 UTC 2010


  On 8/31/2010 4:22 AM, Paul Boddie wrote:
> Sorry once again! This will teach me about not testing things 
> properly: in this case, the presence of more than one repository in a 
> subdirectory, of course. Attached are yet more patches which add the 
> "seen" functionality: something which just remembers which directories 
> have already been listed so that they don't get listed again.
>
> Paul
That seems to have done it!  Now I have:

hgweb.config:

[paths]
/ = /path/to/my/repos/hg/*

[web]
descend = 0
--
Directory laid out like this:
hg/windows/repo1
hg/windows/repo2
hg/windows/repo3
hg/linux/repoa
hg/linux/repob
hg/linux/repoc
hg/libraries/repox
hg/libraries/repoy
hg/libraries/repoz
--
And I end up with a structure like this:
http://hgserver/hg
windows
linux
libraries
------
Is there anything that you would like me to specifically test?
Can this be submitted to the devs to be integrated into a future release?

Matt Schulte



More information about the Mercurial mailing list