Mercurial: Share the repo without putting it on the server?

I work in a student group with several other people. We would like to use Mercurial as our version control system, but some of our files cannot be hosted on the Internet in a public hosting service such as Google Projects or Codeplex. Is there a way that we can host repos on our own machines, transferring files / changes among themselves as needed, without creating a terribly contradictory mess?

I know that Mercurial has a team bundlethat can be used to pack repos. If I do this and send the package to someone else and they want to return the changes to me, what is the best way to do this? Send me the package back?

I have a shared hosting account on the server. Is there any chance that I can start Mercurial from this box? How can I find out?

+3
source share
2 answers

No need to have a central repo. This is one of the benefits of a distributed version control system. Each developer has his own repository on his machine, and you exchange sets of changes by email or by connecting to each other's machines, if possible.

If one of your machines is available to everyone else, it can serve as a “central” repository if you think this will facilitate the logistics of coordinating everyone’s work.

+1
source

, . --base , ( , , ). , , , . , , , hg update.

, , .

+2

Source: https://habr.com/ru/post/1750036/


All Articles