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.
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.
Mercurial . , , . , , - , . (, bitbucket), SSH . . , Mercurial, HTTP- Nginx FastCGI (Ubuntu 9.10).
Mercurial (, git), , . , , - , , .
, , , , . . , , TortoiseHG - , .
mercurial, git. . DVCS , . , .
After you reconnect, you simply synchronize all the backups and you can work on another PC.
Source: https://habr.com/ru/post/1729574/More articles:How to determine the type and version of the J2ee application server? - javaEclipse is very slow when using Code Assist (org.eclipse.mylyn.java.ui.javaAllCompletionProposalComputer) - eclipseHow can I make $ 1 alternatives without replacing regex? - perlCreating an Object to Work as a Delegate - Goal C - objective-cComprehensive SVN Validation Procedure? - eclipseIs there a way to get the last character of a file without reading line by line? - c #COM Callable Wrapper and .NET Object Lifetime - .netMultiple multi-line regular expressions in bash - bashHow to mount network drives in the Delphi service? - delphiTransactional objects in .NET. - .netAll Articles