Is a Mercurial Server required to use Mercurial?

I am trying to select version control software for our team, but I have not had much experience before. After searching and searching on Google, it seems that Mercurial is a good attempt. However, I am a little confused by some general information about this. In principle, our team has only 5 people, and we all connect to the server machine, which will be used to store repositories. Server is a Redhat Linux system. We probably use a lot of centralized workflow. Since I like the idea of ​​local commit, I still prefer software like DVCS. Now I am trying to establish mercury. Here are my questions.

1) Does the server for repositories always need to install the "mercurial-server" software? Or does it depend on which workflow it uses? In other words, is this true, if there is no centralized workflow used for work, then the server can be installed by a "mercurial client"?

I am confused in terms of "mercurial-server". Or it means that the Mercurial installed on the server is always called the "mercurial server", and it matters if it is centralized or not. In addition, since we all work on this server, does this mean that it requires only one copy of mercury to install it? We all have our own user directory, such as / home / Cassie, / home / John, ... and / home / Joe.

2) Should SSH? Or does it depend on what is the relationship between users and the server? So, since we all work on the server, SSH is not required correctly?

Many thanks,

+5
source share
3 answers

There are two things that can be called a "mercurial server."

One of them is just a social agreement that "the X repository on the shared drive is our shared repository." You can safely click and pull this mounted repository and use it as a regular “trunk” for your development.

, . , .

. № 2: , SSH, , .

, , , , " ", - " ". " " (, ) push/pull/clone/incoming/outgoing/others-that-i'm-forgetting. , - .

+8

. , , , .

, (NFS SMB), . , :

  • mercurial, (, Mercurial 1.9, 1.3 )
  • , .
  • , ,

http ssh. ( HTTP- , HTTP- ) :

  • , , Mercurial
  • ( , )

http ssh . http , , , http ( , ). , ssh , , ( , ).

+4

Rudi , http ssh- ( http ).

"mercurial-server".

Mercurial :

  • hg serve; , , ( , , , ).
  • hgwebdir.cgi; cgi script, HTTP-, Apache; .
  • ssh (Secure Shell); , , , hgwebdir.

"mercurial-server". ; http://www.lshift.net/mercurial-server.html. , 3, ssh-.

, , Mercurial-; .

+2

All Articles