problems using apache2 to publish repository and clone it

Paul Boddie paul.boddie at biotek.uio.no
Tue Nov 23 06:48:52 CST 2010


prioryjim wrote:
> I think I have solved it 
>
> clone  http://10.170.30.207/cgi-bin/hgweb.cgi myrep
>
> seems to work OK
>   

Yes, you always need to point hg at the place where hgweb.cgi is serving 
the repository. Of course, you can make hgweb.cgi appear at a "nicer" 
place by using directives such as ScriptAlias in Apache, provided you 
have the privileges to do so:

http://mercurial.selenic.com/wiki/PublishingRepositories#Publishing_the_CGI_script_directly

Paul


More information about the Mercurial mailing list