|Re: Versioning conflict must be resolved from command line [message #555031 is a reply to message #554485]
||Wed, 25 August 2010 09:02
| Stefan Lay
Registered: July 2009
you hit a feature that is not implemented in the current release egit 0.8.4 but which will be contained in the next release 0.9.1 which will be delievered with Helios SR1 in september.
> Please let me understand if this flow is normal as of today due to the fact that EGit is still in an early stage or if something is wrong and I should open a defect.
There is already an enhancement request: https://bugs.eclipse.org/bugs/show_bug.cgi?id=303404
> 1. If two users modify the same file, the first user who commits and pushes will be able to publish his/her changes to the repository, while the second user will be stuck with a "Rejected" error message in the push dialog, without really understanding which file is being rejected nor why.
That's really annoying. There is also an open bug 319974
> 3. In step 2 the local file has been changed by EGit to include both the change sets from the two users.
This change is done by the merge on the command line, right?
> 5. Via command line the user stages the file again (this cannot be done using EGit). Via command line user commits (this would not work using EGit)
Both these features are not contained in 0.8.4 but work already in the current nightly build.
> 5B. I guess that as a GUI alternative to 5 one should try to commit directly from EGit selecting files to be staged in the dialog, but this fails with "Repository state: Conflicts".
I think that the staging step is mandatory because with this the user explicitly states that he considers a conflict as being resolved.
> Every now and then we also get the following error message: "Cannot work with other stages than zero right now. Won't write corrupt index"
This occurs for example when you want to reset in case of conflicts. For this there is the open bug 319844. That should definitely be fixed until release 1.0. Did you get that error on other situations?
So in summary, the merge scenario should work with the next release 0.9.1. However, there will possibly still be some limitations, for example that reset will not work in case of a merge.
Powered by FUDForum
. Page generated in 0.02790 seconds