git-remote-hg icon indicating copy to clipboard operation
git-remote-hg copied to clipboard

Concurrency is not supported

Open fingolfin opened this issue 9 years ago • 2 comments

As @felipec stated on issue #16, "Concurrency is not supported".

This should then at least be documented as a known issue, as it can corrupt the internal state of git-remote-hg.

Of course a better solution would be if git-remote-hg used e.g. some kind of locking to prevent multiple processes of accessing the marks files simultaneously. So concurrency would still not be supported, but it would lead to an error, instead of silent (and possibly quite fatal) failure.

fingolfin avatar May 17 '16 07:05 fingolfin

Ideally it should be Git's core the one that manages marks.

felipec avatar May 17 '16 15:05 felipec

Yes, it would be nice if one could somehow leverage git's existing lock / concurrency handling.

fingolfin avatar May 17 '16 15:05 fingolfin