[Openstack] git review failed

Chris Behrens cbehrens at codestud.com
Sun Apr 20 03:50:49 UTC 2014


Ya, there's 2 commits in your branch. If you want to push them both up, it'll create 2 separate reviews with a dependency chain. Just answer 'yes' to the question.

If you meant to push them up separately without a dependency chain, put both commits in separate branches and then git review them individually.

And if you only meant to submit one review, squash the commits into 1 or remove one of the commits before git reviewing.

- Chris

> On Apr 19, 2014, at 8:27 PM, Mike Spreitzer <mspreitz at us.ibm.com> wrote:
> 
> Zhengguang Ou <zhengguangou at gmail.com> wrote on 04/19/2014 11:01:19 PM:
> 
> > Hi all 
> > I used the "git review" to submit a commit, but I got a error as follow: 
> > You have more than one commit that you are about to submit.
> > The outstanding commits are: 
> > 5dc6eeb (HEAD, Bug1309986) Add unit test for keypair's api
> > d10e307 (review/zhengguang_ou/Bug1307338) Fix the incorrect return 
> > messages in keypair-show and keypair-delete 
> > Is this really what you meant to do? 
> > I have run two commands:
> > git fetch --all
> > git remote update 
> > then ran "git review", but I still got the same error. 
> > Can you help me please? I would be grateful for any help.
> > Thanks 
> > Regards
> > Ou 
> 
> Please tell us a little more about your situation.  What is the relevant commit history?  The error message makes it look like you are working on two bug fixes.  Is that right?  If so, I think you have to submit the two fixes separately. 
> 
> Regards, 
> Mike 
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140419/92dd031b/attachment.html>


More information about the Openstack mailing list