Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Concurrency is not supported #54

Open
fingolfin opened this issue May 17, 2016 · 2 comments
Open

Concurrency is not supported #54

fingolfin opened this issue May 17, 2016 · 2 comments

Comments

@fingolfin
Copy link
Contributor

fingolfin commented May 17, 2016

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.

@felipec
Copy link
Owner

felipec commented May 17, 2016

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

@fingolfin
Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants