I'm afraid the query command won't help you here. You'll have to download
the commit in question, the destination branch, and do a log operation.
Something like this:
git init
git fetch <base url> <refspec> refs/heads/<dest branch>:<dest branch>
git log <dest branch>..<patch sha-1>
I don't see a reason why the query command couldn't be extended to
include this information as well.
--
Magnus Bäck Opinions are my own and do not necessarily
SW Configuration Manager represent the ones of my employer, etc.
Sony Ericsson
> On Wednesday, September 21, 2011 at 23:50 CEST,
> Luis Gonzalez <lgon...@ti.com> wrote:
>
>> I'm using gerrit query to fetch patches information that are yet to be
>> merged. This the command I use:
>> gerrit query --current-patch-set project:<proj> branch:<ref> is:open
>>
>> and it dumps a lot of information on my prompt but I cannot find
>> anything that tells me if a patch depends on other(s).
>>
>> I know this information is available on Gerrit web interface but I
>> need to get this information automatically.
>
> I'm afraid the query command won't help you here. You'll have to download
> the commit in question, the destination branch, and do a log operation.
> Something like this:
>
> git init
> git fetch <base url> <refspec> refs/heads/<dest branch>:<dest branch>
> git log <dest branch>..<patch sha-1>
>
> I don't see a reason why the query command couldn't be extended to
> include this information as well.
I think this request covers it: http://code.google.com/p/gerrit/issues/detail?id=1020
Nasser
>
> --
> Magnus Bäck Opinions are my own and do not necessarily
> SW Configuration Manager represent the ones of my employer, etc.
> Sony Ericsson
>
> --
> To unsubscribe, email repo-discuss...@googlegroups.com
> More info at http://groups.google.com/group/repo-discuss?hl=en
--
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum