Add support to multiple repositories

Vincent Wagelaar vincent at ricardis.tudelft.nl
Thu Aug 18 10:51:29 CDT 2005


On Thursday 18 August 2005 02:33, Vincent Wagelaar wrote:
> On Wednesday 17 August 2005 19:25, Matt Mackall wrote:
> > On Wed, Aug 17, 2005 at 06:39:56PM +0200, Goffredo Baroncelli wrote:
> > > Hi all,
> > >
> > >
> > > this is my last attempt to add in mercurial a support for multiple
> > > repositories. This patch add another cgi script ( invoked by apache
> > > ) which generates an index pages of several repositories.
> >
> > Thanks for being persistent with this, it's a very important feature.
> > Unfortunately, since you last sent this, I've grown to like your
> > original idea of using PATH_INFO. I'll sit down today and work out some
> > combination of your two patches that I like.
>
> http://hannibal.lr-s.tudelft.nl/~vincent/mercurial/hg/
>
> hgweb_multi.cgi
> hgweb_multi.htacces for an example .htacces file
>
> Templating and making it look nice is left as an excercise to the reader.
I've updated the script. It now does proper redirection if an url is not 
valid.

Demo:
http://hannibal.lr-s.tudelft.nl/~vincent/py/

Cheers,
Vincent


More information about the Mercurial mailing list