The hg serve command has had a command line argument for specifying a webdir
configuration file for some time.  This lets the user serve a collection of
repositories without installing apache.

I've added support for this option in hggtk/serve.py and hgtk in my fork of
thg-crew.
http://www.bitbucket.org/sborho/thg-crew-steve/
To test it, create a file named webdir.conf with this:

[paths]
/ = /path/to/repo/collection/*

then run: hgtk serve --webdir-conf=webdir.conf

To support this in TortoiseHg, we should probably offer 'serve webdir' in
the context menu of *.conf files.  Either that or add a new dialog to create
these files and launch the server for them.

Cheers,

--
Steve
------------------------------------------------------------------------------
_______________________________________________
Tortoisehg-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop

Reply via email to