Serving forests over http

Mina R Waheeb syncer at gmail.com
Sun May 3 16:56:38 CDT 2009


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/20090503/e451a6bf/attachment.htm 


More information about the Mercurial mailing list