GERRIT review / cherry-pick help

Lionel Elie Mamane lionel at mamane.lu
Thu Jul 12 05:05:00 PDT 2012


On Thu, Jul 12, 2012 at 11:45:34AM +0000, Gerrit wrote:

> David Tardon has uploaded a new change for review.

> Change subject: fdo#51278 make reportbuilder work again
> ......................................................................

> fdo#51278 make reportbuilder work again

> Change-Id: I46f970fa23a0afd54485efb58b7f4f757c7d7752

So, I'm trying to review that thing, but I get lost.

http://wiki.documentfoundation.org/Development/gerrit says:

 ./logerrit cherry-pick CHANGEID

This *obviously* answers
 -bash: ./logerrit: No such file or directory

and the above wiki page says nothing about downloading no "logerrit"
tool that would need... to be copied in the *current* directory for
each directory I want to work from? That's baroque.


An older version of that page says:

 gerrit-cherry-pick ssh://logerrit/core NUMBER

but that says:

$ ~/bin/gerrit-cherry-pick ssh://logerrit/core I46f970fa23a0afd54485efb58b7f4f757c7d7752
fatal: Couldn't find remote ref
refs/changes/00/I46f970fa23a0afd54485efb58b7f4f757c7d7752/1
$ ~/bin/gerrit-cherry-pick ssh://logerrit/core 46f970fa23a0afd54485efb58b7f4f757c7d7752
/home/master/bin/gerrit-cherry-pick: 194: arithmetic expression:
expecting EOF: "46f970fa23a0afd54485efb58b7f4f757c7d7752 % 100"
>From ssh://logerrit/core
 * branch            HEAD       -> FETCH_HEAD
/home/master/bin/gerrit-cherry-pick: 205: arithmetic expression:
expecting EOF: "46f970fa23a0afd54485efb58b7f4f757c7d7752 % 100"
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.

fatal: ambiguous argument
'46f970fa23a0afd54485efb58b7f4f757c7d7752^..46f970fa23a0afd54485efb58b7f4f757c7d7752':
unknown revision or path not in the working tree.
Use '--' to separate paths from revisions
Done.


So... What am I supposed to do (except find the git commit-id from
master and "git cherry-pick" that)?

-- 
Lionel


More information about the LibreOffice mailing list