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”


-- 
Best regards, Alexander Kanevskiy.



---------------------------------------------------------------------
Intel Finland Oy
Registered Address: PL 281, 00181 Helsinki 
Business Identity Code: 0357606 - 4 
Domiciled in Helsinki 

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
_______________________________________________
Dev mailing list
[email protected]
https://lists.tizen.org/listinfo/dev

Reply via email to