It was <2014-01-28 wto 10:58>, when Kanevskiy, Alexander wrote:
> On 28/01/14 10:31 , "Łukasz Stelmach" <[email protected]> wrote:
>
>>It was <2014-01-27 pon 22:23>, when Ramkrishna, Sriram wrote:
>>> On Fri, 2014-01-24 at 18:46 +0100, Karol Lewandowski wrote:
>>>> On 01/24/2014 04:34 PM, Łukasz Stelmach wrote:
>>>>> Dear SCM,
>>>>> 
>>>>> Thanks to Thiago me and some of my teammates have used the sandbox
>>>>> feature of gerrit. Now we'd like to remove the
>>>>> sandboxes. Unfortunately when I try to do so:
>>>>> 
>>>>> --8<---------------cut here---------------start------------->8---
>>>>> $ git push -f tizen.org +:refs/sandbox/lstelmach/upgrade
>>>>> remote: 
>>>>> remote: Branch refs/sandbox/lstelmach/upgrade:
>>>>> remote: You need 'Push' rights with the 'Force Push'
>>>>> remote: flag set to delete references.
>>>>> remote: User: lstelmach
>>>>> remote: Please read the documentation and contact an administrator
>>>>> remote: if you feel the configuration is incorrect
>>>>> remote: Processing changes: refs: 1, done
>>>>> To ssh://[email protected]:29418/platform/upstream/hwdata
>>>>>  ! [remote rejected] refs/sandbox/lstelmach/upgrade (cannot delete
>>>>> references)
>>>>> error: failed to push some refs to
>>>>> ssh://[email protected]:29418/platform/upstream/hwdata'
>>>>> --8<---------------cut here---------------end--------------->8---
>>>>> 
>>>>> I get NAKed. Despite being a memeber of the "System - Maintainers"
>>>>> group and being able to push forcefully the rest of branches in the
>>>>> reposiotory.
>>>> 
>>>> This is a bit counter-intuitive but you should be able to delete
>>>> these branches using gerrit's web interface (project -> branches ->
>>>> select branch -> click delete).
>>>> 
>>>> Not sure why it doesn't work via git protocol, though.
>>>> 
>>>
>>> If this doesn't work, let me know.  Ideally, you can file a JIRA
>>> ticket on bugs.tizen.org and we can take care of it that way.
>>
>>https://bugs.tizen.org/jira/browse/TINF-450
>
> When referencing sandbox refs, you must either use
> "sandbox/lstelmach/upgrade" or fully specified
> "refs/heads/sandbox/lstelmach/upgrade".
> "refs/sandbox" is not a valid ref (it would try to translate it to
> refs/heads/ref/sandbox/lstelmach/upgrade”

My bad. Thanks.

-- 
Łukasz Stelmach
Samsung R&D Institute Poland
Samsung Electronics

Attachment: pgpg1SI_tAxiI.pgp
Description: PGP signature

_______________________________________________
Dev mailing list
[email protected]
https://lists.tizen.org/listinfo/dev

Reply via email to