A Generic Cloud Repository as a Mercurial Repository

Kazuhiro Nishimura kazssym at gmail.com
Sat Nov 16 17:13:56 CST 2013


If a cloud storage is visible as a local drive/folder, you can just make a
repository as usual.  But if any data on the cloud storage is cached
locally and transferred asynchronously to/from the cloud, you would have a
chance of repository corruption if it was used by multiple clients, I
believe.

For example, when one client modified files A and B in a repository, if
another client sees only the update of A, the repository would be in an
inconsistent state for the latter.  If the latter client then tries to
modify A and B, changes in B by the two client will conflict and will not
be able to be resolved automatically.

If you know for sure that any changes to files on a cloud storage are
synchronously visible to others, you might be able to share your
repositories on the cloud storage but I do not know it is absolutely safe.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial/attachments/20131117/78d5c52a/attachment.html>


More information about the Mercurial mailing list