Serving forests over http

Mina R Waheeb syncer at gmail.com
Sun May 3 19:19:46 CDT 2009


I was thinking that hgweb can't read the hgrc file, but it dose! I have test
the highlight extension and its working fine! I have tested both the latest
1.2.1 and 1.1.2, both gives the same error, the extension working fine
locally!

dose the hgweb.protocol API changed recently?

Thanks,
Mina R Waheeb

On Sun, May 3, 2009 at 9:56 PM, Mina R Waheeb <syncer at gmail.com> wrote:

> Hi,
>   I have successfully install hg/wsgi/apache server and I have problem
> enable forest extension to serve forests over HTTP. I have created nested
> repos and enable forest extension in the main repo [1], also hgwebdir.wsgi
> [2] and hgweb.config [3] probably working  because i can access the the web
> interface and browse the repos.
>
> When i try to fclone the forest its keep telling me : abort: Remote forests
> cannot be cloned because the other repository doesn't support the forest
> extension.
>
> debugging capabilities: unbundle=HG10GZ,HG10BZ,HG10UN lookup
> changegroupsubset
>
> The apache running with user www and all the above files are chowned to www
> user. Also hg version is 1.2.1 and i got the forest extension from bitbucket
> project [4]
>
> Aslo i have tried in hgwebdir.wsgi
> os.environ["HGRCPATH"] = "pathto/.hgrc"
>
> How can i serve forest over HTTP?
>
> Thanks in advance,
> Mina R Waheeb
>
> [1] repo/.hg/hgrc
> --------------------
> [extensions]
> hgext.fetch=
> hgext.forest=
> hgext.extdiff=
> hgext.color=
> hgext.graphlog=
> hgext.mq =
>
> [web]
> push_ssl = false
> style = gitweb
> allow_push = *
>
> [2] hgwebdir.wsgi
> --------------------
> from mercurial.hgweb.request import wsgiapplication
> from mercurial.hgweb.hgwebdir_mod import hgwebdir
> application = hgwebdir("hgweb.config")
>
> [3] hgweb.config
> ----------------------
> [paths]
> / = /pathto/repos/**
>
> [web]
> style = gitweb
> baseurl =
>
> [4] http://bitbucket.org/pmezard/hgforest-crew/
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://selenic.com/pipermail/mercurial/attachments/20090504/ffc29dee/attachment.htm 


More information about the Mercurial mailing list