race condition in bzr uncommit
Bug #260409 reported by
Radim Kolář
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar Plugin for Eclipse |
Fix Released
|
Medium
|
Guillermo Gonzalez |
Bug Description
There is race condition in bzr uncommit function. BZR uncommit doesnt use -r REVISON command line argument. Its possible to uncommit different revision than intended if someone commited into branch in time window between confirmation dialog and bzr uncommit command invocation.
Changed in bzr-eclipse: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Hi Radim,
Thanks for reporting this.
As I understand, his only could happen when you access the branch from outside eclipse, and run a commit from i.e: the CLI.
I think that a possible solution is to get a branch lock and don't allow changes in the branch until the uncommit dialog is closed.
Regards.