Community
Participate
Working Groups
I've seen this once before, I think, but definitely saw it today. Latest code on orion.eclipse.org I was committing a change to a local topic branch. I pasted the bug number in the commit text and pushed "commit." I got a progress message and then no update at all, so I wasn't sure it worked. So I tried hitting commit again. Same thing, progress message, no update on the page. So I opened the log and saw two commits, a minute apart. The first commit has the change, the second commit has no change at all. You can see the commits involved in case this matters, as I pushed them to a remote branch. branch is origin/bug361481 This commit is the real one: 5595c5765292d098d2cf6a598872a73bef56f787 this is the empty one d057e35606ce3d6947f24c3b4baced4bf073eba8
This could have been spotted if we had bug 339848 fixed. For now, we could disable the Commit button until result of a previous commit has returned. A warning about an empty commit would also help.
(In reply to comment #1) > This could have been spotted if we had bug 339848 fixed. For now, we could > disable the Commit button until result of a previous commit has returned. A > warning about an empty commit would also help. Yes. The current logic to disable commit button is complicated (e.g. comment 4 at Bug 355735). We can disable commit button right away after it is clicked but I there is no way to bring it back unless you refresh. Without solving the issue at the first place, everything else is just temporary. The best workaround I would recommend is to refresh the browser.
(In reply to comment #1) > This could have been spotted if we had bug 339848 fixed. For now, we could > disable the Commit button until result of a previous commit has returned. A > warning about an empty commit would also help. if it's straightforward to detect an empty commit, a warning would reduce the noise in the repo, but this is not a big deal (post 0.3) Mainly wanted to ensure we knew about it. Sounds like a more substantive solution is planned (bug 339848.
Hasn't been seen in a long time, much of this has been rewritten since. We also have warning for empty commits now that will help if user clicks commit twice.