[Insight-developers] Could not submit gerrit patch now?

Matt McCormick matt.mccormick at kitware.com
Thu Sep 8 18:09:33 EDT 2011


To the right of the 'Review' button.

On Thu, Sep 8, 2011 at 5:54 PM, David Cole <david.cole at kitware.com> wrote:
> Can you describe where that is? I was looking for it and could not find it...
>
>
> On Thu, Sep 8, 2011 at 5:44 PM, Matt McCormick
> <matt.mccormick at kitware.com> wrote:
>> There is also a 'Restore Change' button in the web interface.
>>
>> Matt
>>
>> On Thu, Sep 8, 2011 at 5:34 PM, David Cole <david.cole at kitware.com> wrote:
>>> A work-around would be to do:
>>>
>>> git commit --amend
>>>
>>> and delete the existing Change-Id: line.
>>>
>>> The commit hook should add a new Change-Id: line back in there after
>>> your edit. (Do the "git show | grep Change" again to verify.)
>>>
>>> Then try the push again, and it should open up a new gerrit topic with
>>> your branch name.
>>>
>>>
>>> HTH,
>>> David
>>>
>>>
>>> On Thu, Sep 8, 2011 at 5:21 PM, gang song <songgang97 at gmail.com> wrote:
>>>> Hi David,
>>>>
>>>> Yes, I am trying to re-open this change (removed several debugging
>>>> print out, etc).
>>>>> Gang, your error message says:
>>>>>
>>>>>> !       HEAD:refs/for/master/RunLengthMatrixImplementationFix   [remote
>>>>>> rejected] (change 2734 closed)
>>>>>
>>>>>
>>>>> Are you trying to extend and re-open this abandoned gerrit change?
>>>>> http://review.source.kitware.com/#change,2734
>>>>>
>>>>
>>>>> $ git show | grep Change-Id
>>>> Here is the change id:
>>>>
>>>>    Change-Id: I2aec556dd43339ade9c1a84fa434bc62b9b302c1
>>>>
>>>> It looks the same as the change id in the abandoned patch.  Is there
>>>> some way to get around of this?
>>>>
>>>>
>>>> Thanks
>>>>
>>>> -Gang
>>>>
>>>>
>>>>
>>>> On Thu, Sep 8, 2011 at 5:09 PM, David Cole <david.cole at kitware.com> wrote:
>>>>> gerrit is not on public.kitware.com... So slowness on public should
>>>>> have no bearing on gerrit push operations.
>>>>>
>>>>>
>>>>> Gang, your error message says:
>>>>>
>>>>>> !       HEAD:refs/for/master/RunLengthMatrixImplementationFix   [remote
>>>>>> rejected] (change 2734 closed)
>>>>>
>>>>>
>>>>> Are you trying to extend and re-open this abandoned gerrit change?
>>>>> http://review.source.kitware.com/#change,2734
>>>>>
>>>>> Or are you trying to make a new one?
>>>>>
>>>>> What is the "Change-id:" line at the bottom of your git commit message?
>>>>>
>>>>> $ git show | grep Change-Id
>>>>>
>>>>>
>>>>> Let us know, thanks,
>>>>> David C.
>>>>>
>>>>>
>>>>> On Thu, Sep 8, 2011 at 4:57 PM, Bradley Lowekamp <blowekamp at mail.nih.gov> wrote:
>>>>>> I was using the public stage to merge a topic into SimpleITK and to took
>>>>>> ~10min… I think the public.kitware.com server is/was unhappy.
>>>>>> Brad
>>>>>>
>>>>>> ========================================================
>>>>>>
>>>>>> Bradley Lowekamp
>>>>>>
>>>>>> Lockheed Martin Contractor for
>>>>>>
>>>>>> Office of High Performance Computing and Communications
>>>>>>
>>>>>> National Library of Medicine
>>>>>>
>>>>>> blowekamp at mail.nih.gov
>>>>>>
>>>>>> On Sep 8, 2011, at 4:47 PM, gang song wrote:
>>>>>>
>>>>>> Hi guys,
>>>>>>
>>>>>> I just tried twice to submit a gerrit patch without success. Tried to
>>>>>> check out a new branch, add a new commit and do a gerrit-push, got
>>>>>> this error:
>>>>>>
>>>>>> $ git gerrit-push
>>>>>> Fetching gerrit master
>>>>>> Pushing to gerrit
>>>>>> Counting objects: 23, done.
>>>>>> Delta compression using up to 7 threads.
>>>>>> Compressing objects: 100% (12/12), done.
>>>>>> Writing objects: 100% (12/12), 3.26 KiB, done.
>>>>>> Total 12 (delta 11), reused 0 (delta 0)
>>>>>> remote: Resolving deltas:   0% (0/11)
>>>>>> error: failed to push some refs to 'songgang at review.source.kitware.com:ITK'
>>>>>> To songgang at review.source.kitware.com:ITK
>>>>>> !       HEAD:refs/for/master/RunLengthMatrixImplementationFix   [remote
>>>>>> rejected] (change 2734 closed)
>>>>>>
>>>>>>
>>>>>> Does anyone got similar problem?
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>> -Gang
>>>>>> _______________________________________________
>>>>>> Powered by www.kitware.com
>>>>>>
>>>>>> Visit other Kitware open-source projects at
>>>>>> http://www.kitware.com/opensource/opensource.html
>>>>>>
>>>>>> Kitware offers ITK Training Courses, for more information visit:
>>>>>> http://kitware.com/products/protraining.html
>>>>>>
>>>>>> Please keep messages on-topic and check the ITK FAQ at:
>>>>>> http://www.itk.org/Wiki/ITK_FAQ
>>>>>>
>>>>>> Follow this link to subscribe/unsubscribe:
>>>>>> http://www.itk.org/mailman/listinfo/insight-developers
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Powered by www.kitware.com
>>>>>>
>>>>>> Visit other Kitware open-source projects at
>>>>>> http://www.kitware.com/opensource/opensource.html
>>>>>>
>>>>>> Kitware offers ITK Training Courses, for more information visit:
>>>>>> http://kitware.com/products/protraining.html
>>>>>>
>>>>>> Please keep messages on-topic and check the ITK FAQ at:
>>>>>> http://www.itk.org/Wiki/ITK_FAQ
>>>>>>
>>>>>> Follow this link to subscribe/unsubscribe:
>>>>>> http://www.itk.org/mailman/listinfo/insight-developers
>>>>>>
>>>>>>
>>>>>
>>>>
>>> _______________________________________________
>>> Powered by www.kitware.com
>>>
>>> Visit other Kitware open-source projects at
>>> http://www.kitware.com/opensource/opensource.html
>>>
>>> Kitware offers ITK Training Courses, for more information visit:
>>> http://kitware.com/products/protraining.html
>>>
>>> Please keep messages on-topic and check the ITK FAQ at:
>>> http://www.itk.org/Wiki/ITK_FAQ
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://www.itk.org/mailman/listinfo/insight-developers
>>>
>>
>


More information about the Insight-developers mailing list