[Development] Looking for a way to batch-upload independent changes to Gerrit

Thiago Macieira thiago.macieira at intel.com
Tue Aug 19 00:38:48 CEST 2014


On Tuesday 19 August 2014 00:09:19 Allan Sandfeld Jensen wrote:
> On Monday 18 August 2014, you wrote:
> > On Mon, Aug 18, 2014 at 7:57 PM, Allan Sandfeld Jensen <kde at carewolf.com>
> 
> wrote:
> > > Is it a problem that they have fake dependencies listed in gerrit? I
> > > often upload lists of patches like that, and land them out of order as
> > > they get reviewed. It appears to pose no particular problem, except that
> > > it can look a bit odd.
> > 
> > Me too, if I'm lazy. It can confuse some reviewers (small problem),
> > but the annoyance I've faced is that rebasing will bump all changes
> > after the commit you actually change. Having multiple source branches
> > avoids that.
> 
> Well, I solve that by rebasing the patch on a clean branch if I need to
> rebase. The patches that used be after it will then have a dependency with
> the tag (OUTDATED), but they still work and stage fine.

It's possible to send them all in one go, but you'll need to do the cherry-
picking manually.

git push gerrit `list all cherry-picked commits | sed 's,$,:refs/for/5.4,'`
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Development mailing list