hgwebdir.cgi failing

Igor Kostenko isanych at gmail.com
Tue Sep 2 22:19:31 CDT 2008


Hi Robert,

> > It should be
> > 
> > [collections]
> > c:\repos\ty2008 = c:\repos\ty2008
> > 
> > or
> > 
> > [collections]
> > c:\repos = c:\repos
> > 
> > But [collections] doesn't work on windows. Use my 
> > hgwebdir.wsgi from my topic "hgwebdir collection 
> > on windows" or change hgwebdir_mod.py as I
> > suggested there or use [paths] instead of 
> > [collections]
> 
> Question 1 - Can you provide a link to the topic you mentioned? I cannot
> find it searching the wiki.

It is not on wiki - it's in maillist where we are now :)
http://article.gmane.org/gmane.comp.version-control.mercurial.general/9363

> Question 2 - If I'm going to be hosting something like 5000+
> repositories then using [paths] will prove cumbersome. Does modifying
> hgwebdir_mod.py work to allow [collections] to work on Windows?

Yes, both variants - modified hgwebdir.wsgi and modified hgwebdir_mod.py will 
allow to work with all repositories in folder(s) on windows.

WBR, Igor



More information about the Mercurial mailing list