Wireshark mailing list archives

Re: Push failed after amend (Change 27518)


From: <david_aggeler () hispeed ch>
Date: Mon, 11 Jun 2018 17:07:05 +0200

Hi Pascal,

 

I don’t think I have a clue what I’m doing. I think I finally managed to squash the two commits under one change ID. I 
was not doing the ‘interactive’ part correctly.

 

I’ve now sent it to Gerrit. It looks ok to me.

 

Regards 

David

 

From: Wireshark-dev [mailto:wireshark-dev-bounces () wireshark org] On Behalf Of Pascal Quantin
Sent: Monday, June 11, 2018 3:32 PM
To: Developer support list for Wireshark <wireshark-dev () wireshark org>
Subject: Re: [Wireshark-dev] Push failed after amend (Change 27518)

 

Hi David,

 

you have have at least 3 different commits with the same Change-ID, which cannot work (as indicated previously).

Please squash them altogether with the git rebase -i command.

 

BR,

Pascal.

 

Le lun. 11 juin 2018 à 15:27, <david_aggeler () hispeed ch <mailto:david_aggeler () hispeed ch> > a écrit :

Hi Pascal, Dario,

 

I did a git rebase -I HEAD~2 (any a few others). That seems to work, but not the subsequent push. I’ve attached a log 
if that helps.

 

Regards

David

 

 

From: Wireshark-dev [mailto:wireshark-dev-bounces () wireshark org <mailto:wireshark-dev-bounces () wireshark org> ] On 
Behalf Of Pascal Quantin
Sent: Monday, June 11, 2018 9:48 AM
To: Developer support list for Wireshark <wireshark-dev () wireshark org <mailto:wireshark-dev () wireshark org> >
Subject: Re: [Wireshark-dev] Push failed after amend (Change 27518)

 

Hi David,

 

Le lun. 11 juin 2018 à 09:29, <david_aggeler () hispeed ch <mailto:david_aggeler () hispeed ch> > a écrit :

 

I still have to learn a lot. I’ve got a pending review, so I’ve updated my code, amended as I thought I needed to, and 
tried to push once more (as I did last time except the last push did not have the author populated).

 

However I get an error:

 

==

remote: Processing changes: refs: 1, done

To ssh://code.wireshark.org:29418/wireshark <http://code.wireshark.org:29418/wireshark> 

! [remote rejected]       HEAD -> refs/publish/master/dicom-heuristic (duplicate request)

error: failed to push some refs to 'ssh://david-aggeler () code wireshark org:29418/wireshark <http://david-aggeler () 
code wireshark org:29418/wireshark> '

Done

==

 

Any advice?

 

That probably means that you have at least two separate commits that use the same Change-Id (while each commit must 
have a different one). So inspect your history and either squash the commits together or  use separate ids for bot h 
commits (you can edit your commits with git rebase -i).

 

Best regards,

Pascal.

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org <mailto:wireshark-dev () wireshark org> >
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org <mailto:wireshark-dev-request () wireshark org> 
?subject=unsubscribe

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: