

An AuthUserFile in apache htdigest format for creating authenticated users.
#Tortoisehg create repository from existing folder install

Now setup read/write rights for users of the project, and provide some information for the project listing on your server's home page: vim /var/www/hg/myproject_to_serve>/.hg/hgrcĭescription = 'This is my new web-enabled project 'Ĭontact = consider limiting push usage to only a subset of users Make sure that the repo is read/writable by the web server user: chown -R www-data:www-data /var/www/hg/ Move your repo to a convenient place from which to serve it: mv /var/www/hg/

Next (using the WSGI configuration which is nice an easy), do the following: The following procedure will give an easy way of publishing a repository, and making it available over an https web connection to authenticated users.įirst of all I suggest making a clone of your repo without a local file directory. Not only does the gi script give one the possibility of running multiple repositories, but it allows developers to conveniently cross-reference the project source code by path or revision from a definitive source. I think Apache is a great way of sharing hg repositories.
