On 17/12/14 21:27 , "Patrick Ohly" <[email protected]> wrote:

>Hello!
>
>When trying to push into the meta-tizen git repo, I am getting the
>following error:
>
>$ git push origin converter:refs/heads/sandbox/pohly
>Counting objects: 264, done.
>Delta compression using up to 4 threads.
>Compressing objects: 100% (221/221), done.
>Writing objects: 100% (264/264), 39.35 KiB | 0 bytes/s, done.
>Total 264 (delta 103), reused 0 (delta 0)
>remote: Resolving deltas: 100% (103/103)
>remote: 
>remote: Processing changes: refs: 1, done
>To review.tizen.org:/scm/bb/meta-tizen
> ! [remote rejected] converter -> sandbox/pohly (failed to lock)
>error: failed to push some refs to 'review.tizen.org:/scm/bb/meta-tizen'


“failed to lock” -  means that you’re trying to push something as branch
name to existing name under refs that is directory.

you have several sandbox/pohly/* branches, so, refs/heads/sandbox/pohly is
a directory on filesystem of git,
and now trying to push converter as refs/heads/sandbox/pohly instead of
refs/heads/sandbox/pohly/converter
Fix destination ref and everything would be fine.


>
>I'm unsure where exactly sandboxes are allowed and couldn't find
>information about it (the above seems to be how its usually configured
>elsewhere), so I also tried:

>
>$ git push origin converter:refs/sandbox/pohly
>Counting objects: 264, done.
>Delta compression using up to 4 threads.
>Compressing objects: 100% (221/221), done.
>Writing objects: 100% (264/264), 39.35 KiB | 0 bytes/s, done.
>Total 264 (delta 103), reused 0 (delta 0)
>remote: Resolving deltas: 100% (103/103)
>remote: 
>remote: Processing changes: refs: 1, done
>To review.tizen.org:/scm/bb/meta-tizen
> ! [remote rejected] converter -> refs/sandbox/pohly (prohibited by
>Gerrit)
>error: failed to push some refs to 'review.tizen.org:/scm/bb/meta-tizen'
>
>Am I doing something wrong or is Gerrit having a bad day?


refs/sandbox/* is not a correct ref spec. must be refs/heads/sandbox/*



-- 
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