Would Mercurial help me work with 2 PCs?

I am currently using Perforce to manage the source code, but I want to work with the code at the same time from two different PCs (desktop and laptop). The laptop will not be able to access the perforce server very often, which makes Perforce a poor choice in this setting.

Distributed source controls like Mercurial seem more appropriate for the task, but I still don't understand if this will work or not. Someone has experience using Mercurial to work on two machines at once (for example, a desktop per week, a laptop in the evening and on weekends). Does it help, or is it still a pain, with a butt that keeps everything in sync and understands what is happening.

+3
source share
3 answers

Yes, I have been doing this for the last two years between my work computer and my home computer. You can use Mercurial or Git, they are both good. I prefer Mercurial because it relies only on python, which is really easy to install on Windows, Linux, and Mac OS X.

In addition, since you mainly work only with the project, you will not have a lot of problems with conflicts.

+5
source

Mercurial . , , . , , - , . (, bitbucket), SSH . . , Mercurial, HTTP- Nginx FastCGI (Ubuntu 9.10).

Mercurial (, git), , . , , - , , .

, , , , . . , , TortoiseHG - , .

+2

mercurial, git. . DVCS , . , .

After you reconnect, you simply synchronize all the backups and you can work on another PC.

+1
source

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


All Articles