[Development] Be careful with duplicate Change-Ids in multiple branches in gerrit

Frederik Gladhorn Frederik.Gladhorn at qt.io
Wed May 8 16:51:09 CEST 2019


On onsdag 8. mai 2019 16:06:02 CEST Edward Welbourne wrote:
> On 8 May 2019, at 10:24, Liang Qi <Liang.Qi at qt.io> mentioned:
> https://codereview.qt-project.org/260927
> 
> Shawn Rutledge (8 May 2019 15:43) replied
> 
> > I don’t understand why a change that is just sitting there on Gerrit
> > can affect the merge. Nobody ever staged that one onto the “wrong”
> > branch, right?
> 
> None the less, IIUC, apparently the automation involved did stage the
> 5.13.0 one when a merge to 5.13.0 (presumably the end of soft-branching)
> brought in the change from 5.13 with the same ID, that had been merged
> to 5.13 earlier.  Quite why that would happen is unclear, and may be
> considered a bug in whatever automation did it, but it seems this does
> happen.
> 
> > And then the bot detected the duplication and auto-abandoned it.
> 
> No, the whole point of Liang's message is that he had to abort the build
> (it wasn't auto-detected) and Frederik (an admin) had to manually
> abandon it so that he could get on with his merge.

Actually I don't understand why it had to be abandoned, but since it was 
clearly a duplicate, I didn't really care.

Cheers,
Frederik

> 
> 	Eddy.
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> https://lists.qt-project.org/listinfo/development






More information about the Development mailing list