开发者

is there a Mercurial installer equivilant to VisualSVNServer?

开发者 https://www.devze.com 2022-12-20 06:41 出处:网络
I am using windows 2003R2 VisualSVNServer installs and works easily. I have been tasked with reviewing Mercurial, but I\'m having trouble setting up the directory for Apache.

I am using windows 2003R2

VisualSVNServer installs and works easily.

I have been tasked with reviewing Mercurial, but I'm having trouble setting up the directory for Apache.

开发者_运维问答is there any equivialant of the VisualSVNServer installer for Mercurial?


I don't know of one, but setting up hgwebdir was pretty simple.

Step-by-step instructions


Do you really need a Mercurial server?

If you just want to share Mercurial repositories over your internal company network, you can just put the repos on a network share.

Of course, you don't have web access then, but you can manage permissions on the network share via Active Directory.


If you just want to test Mercurial, it is as easy as just installing the command line (hg) and enable a directory with some files:

> hg init .
> hg add <file>
> hg commit -m"log msg"

Also if you want to play with cloning, multiple repositories etc, you could use the same initial repository and when inside it type "hg serve", which will launch a small hg server (no setup required!), then in an other windows, you can "hg clone", "hg pull", "hg push" etc.

Finally, if you need a company-wide installation managing multiple repos, then either you need to master hgwebdir, or else there is also a tool called "Mercurial Server" which might be easier to setup and does not requires Apache.

0

精彩评论

暂无评论...
验证码 换一张
取 消