nerosen.blogg.se

Tortoisehg create repository from existing folder
Tortoisehg create repository from existing folder





tortoisehg create repository from existing folder

An AuthUserFile in apache htdigest format for creating authenticated users.

#Tortoisehg create repository from existing folder install

  • The gi script (which comes with a standard Mercurial install on, say, Debian) somewhere conveniently available.
  • WSGIScriptAlias / /var/www/hg/scripts/giĪuthUserFile /home/software/software_web_permissions SSLCertificateKeyFile /etc/ssl/mydomain_net.key SSLCertificateFile /etc/ssl/mydomain_net.crt ServerAdmin /var/www/mydomain/logs/hg_error_logĬustomLog /var/www/mydomain/logs/hg_access_log common myproj = /var/www/hg/my_project_to_serve

    tortoisehg create repository from existing folder

    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/

    tortoisehg create repository from existing folder

    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.







    Tortoisehg create repository from existing folder