[Development] [FYI] the new way to retarget gerrit changes

Oswald Buddenhagen oswald.buddenhagen at qt.io
Fri Jan 12 13:03:52 CET 2018


On Fri, Jan 12, 2018 at 12:49:32PM +0100, Paolo Angelelli wrote:
> On Mon, 8 Jan 2018 14:40:15 +0100 Oswald Buddenhagen <oswald.buddenhagen at qt.io> wrote:
> > the regex is 
> > 
> >   /^(?:gerrit-)?bot:\h*(?:please\h+)?move\h+(?:back\h+)?to\h+(?:branch\h+)?([\w.]*\w)\b/im
> > 
> > which boils down to "bot: move to <branch>" at the start of any line of
> > a gerrit cover message.
> 
> 
> Tried:
> bot: move to wip/navigation
> 
> got the change moved to branch "wip"
> Bug or my mistake?
>
bug, pretty obvious from the quoted regex. https://codereview.qt-project.org/216558



More information about the Development mailing list