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:[email protected]] On Behalf Of 
Pascal Quantin
Sent: Monday, June 11, 2018 3:32 PM
To: Developer support list for Wireshark <[email protected]>
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, <[email protected] 
<mailto:[email protected]> > 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:[email protected] 
<mailto:[email protected]> ] On Behalf Of Pascal Quantin
Sent: Monday, June 11, 2018 9:48 AM
To: Developer support list for Wireshark <[email protected] 
<mailto:[email protected]> >
Subject: Re: [Wireshark-dev] Push failed after amend (Change 27518)

 

Hi David,

 

Le lun. 11 juin 2018 à 09:29, <[email protected] 
<mailto:[email protected]> > 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://[email protected]:29418/wireshark 
<http://[email protected]: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 <[email protected] 
<mailto:[email protected]> >
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:[email protected] 
<mailto:[email protected]> ?subject=unsubscribe

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <[email protected]>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:[email protected]?subject=unsubscribe

Reply via email to