GERRIT review / cherry-pick help

Michael Stahl mstahl at redhat.com
Thu Jul 12 05:38:02 PDT 2012


On 12/07/12 14:05, Lionel Elie Mamane wrote:
> 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.

it's in master branch.  the way i use it is that i just invoke it with
absolute path from the master branch git working tree that i already
have on my disk anyway.

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

another option is to use the web UI, click on the "cherry pick" button
and copy paste the command which looks like this:

git fetch https://gerrit.libreoffice.org/core refs/changes/96/296/1 &&
git checkout FETCH_HEAD

or i guess you can install git-review (there's a Fedora package for it
at least), but i haven't actually tried out how that works yet :)



More information about the LibreOffice mailing list