#language en == HG-SERVICE == HgService is a windows service wrapper for hg mercurial. After installing HgService you can run hg mercurial repository as a windows service instead of running "[[hgserve|hg serve]]" in a command prompt. http://bitbucket.org/andrearicossa/hgservice/ Install instructions: 1. install hg mercurial on the server 2. create a repository using hg init 3. download the hgservice project from bitbutcket (http://bitbucket.org/andrearicossa/hgservice/). Run msi or exe that you will find in the project bin folder. 4. modify the .config file presents in the install folder (all the setting keys could be empty): * ''Command''''''Line'' the program to run (by default is hg.exe) * ''Command''''''Line''''''Arguments'' the hg commands or options. eg. "serve --web-conf .\web.config -A c:\logs\access.log -E c:\logs\error.log" * ''Working''''''Directory'' the repository folder, if it's not specified it takes the install directory ---- This example configuration will start mercurial web server on port 8000, and server out the repository at "c:\path\to\repository", allowing pull and push. <> <> <
>HgService.exe.config {{{ }}} web.config {{{ [web] allow_push = * push_ssl = false [paths] yourrepositry = "c:\path\to\repository" }}} Author: Andrea Ricossa - andrea.ricossa[at]gmail.com ---- CategoryWindows CategoryWeb