Bitbucket, sourcehut, self-hosting, dropbox, poor man's solution

František Kučera konference at frantovo.cz
Thu Aug 22 08:37:39 UTC 2019


Dne 22. 08. 19 v 9:21 Uwe Brauer napsal(a):
> Any comments? Anybody tried that approach? It is safe?

Might be safe in the way that you should not loose data.

But if there are any conflicting changes from different authors, it will 
be problem. In normal situation the Mercurial helps you resolve such 
conflicts and it understands the changes (knows which files and lines 
were changed). But in this case, the Dropbox would have to resolve the 
conflicts and it does not understand the changes and there will be not 
only changes in your working copy but also inside the .hg directory.

So it will work if you are the only author or if changes are rare and 
you will always do pull before commit and avoid conflicts.

If you buy some cheap VPS and share the repository using plain SSH and 
Mercurial, it will give better results than service like Dropbox.

Franta




More information about the Mercurial mailing list