[Ilugc] Mercurial server setting up

  • From: prataprc@xxxxxxxxx (Pratap Chakravarthy)
  • Date: Fri, 6 Jan 2012 18:08:49 +0530

afaik there is no such thing as a mercurial server. Every mercurial
repository is independent and can be accessed as a file on a local
machine, or over ssh/http/ etc on a remote machine.

I havn't setup up mercurial repositories to be accessed via http. So this
is my wild guess.

It is true that mercurial is a distributed VCS and that
all the version control information is stored inside the directory called
.hg/ under repository root, and the working tree is simply a checkout
of .hg/

Now to access mercurial repository it is enough to have the
file path or file url. And because of this ssh becomes quite convenient
to access remote file-paths, since ssh server naturally understands
unix file tree.

But HTTP server is a different beast. It requires configuration to map
HTTP urls to file path. And I guess OP is requesting information on
that.

Cheers,

Other related posts: