<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:DengXian;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"\@DengXian";
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi all,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Yesterday, when I used git-review to commit patch, it failed with the error like below.<o:p></o:p></p>
<p class="MsoNormal"><b>Fix solution</b>: <span style="color:#4472C4">pip install git-review to install version 1.28.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#4472C4"> Close current terminal and reopen it, then it works again.<o:p></o:p></span></p>
<div style="mso-element:para-border-div;border:solid #EAECF0 1.0pt;padding:12.0pt 12.0pt 12.0pt 12.0pt;background:#F8F9FA">
<p class="MsoNormal" style="line-height:15.6pt;background:#F8F9FA;border:none;padding:0cm">
<span style="font-size:10.5pt;font-family:"Courier New";color:black">$ git-review --version<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:15.6pt;background:#F8F9FA;border:none;padding:0cm">
<span style="font-size:10.5pt;font-family:"Courier New";color:black">git-review version
</span><span style="font-size:10.5pt;font-family:"Courier New";color:#666666">1</span><span style="font-size:10.5pt;font-family:"Courier New";color:black">.25.0<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:15.6pt;background:#F8F9FA;border:none;padding:0cm">
<span style="font-size:10.5pt;font-family:"Courier New";color:black">$ git review -f<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:15.6pt;background:#F8F9FA;border:none;padding:0cm">
<span style="font-size:10.5pt;font-family:"Courier New";color:black">remote: error: branch refs/publish/master/NNNN:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:15.6pt;background:#F8F9FA;border:none;padding:0cm">
<span style="font-size:10.5pt;font-family:"Courier New";color:black">remote: You need
</span><span style="font-size:10.5pt;font-family:"Courier New";color:#BA2121">'Create'</span><span style="font-size:10.5pt;font-family:"Courier New";color:black"> rights to create new references.<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:15.6pt;background:#F8F9FA;border:none;padding:0cm">
<span style="font-size:10.5pt;font-family:"Courier New";color:black">remote: User: USERNAME<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:15.6pt;background:#F8F9FA;border:none;padding:0cm">
<span style="font-size:10.5pt;font-family:"Courier New";color:black">remote: Contact an administrator to fix the permissions<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:15.6pt;background:#F8F9FA;border:none;padding:0cm">
<span style="font-size:10.5pt;font-family:"Courier New";color:black">remote:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:15.6pt;background:#F8F9FA;border:none;padding:0cm">
<span style="font-size:10.5pt;font-family:"Courier New";color:black">remote: Processing changes: refs:
</span><span style="font-size:10.5pt;font-family:"Courier New";color:#666666">1</span><span style="font-size:10.5pt;font-family:"Courier New";color:black"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:15.6pt;background:#F8F9FA;border:none;padding:0cm">
<span style="font-size:10.5pt;font-family:"Courier New";color:black">remote: Processing changes: refs:
</span><span style="font-size:10.5pt;font-family:"Courier New";color:#666666">1</span><span style="font-size:10.5pt;font-family:"Courier New";color:black">,
</span><b><span style="font-size:10.5pt;font-family:"Courier New";color:green">done</span></b><span style="font-size:10.5pt;font-family:"Courier New";color:black"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:15.6pt;background:#F8F9FA;border:none;padding:0cm">
<span style="font-size:10.5pt;font-family:"Courier New";color:black">To ssh://gerrit.libreoffice.org:29418/core<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:15.6pt;background:#F8F9FA;border:none;padding:0cm">
<span style="font-size:10.5pt;font-family:"Courier New";color:black">! </span><span style="font-size:10.5pt;font-family:"Courier New";color:#666666">[</span><span style="font-size:10.5pt;font-family:"Courier New";color:black">remote rejected</span><span style="font-size:10.5pt;font-family:"Courier New";color:#666666">]</span><span style="font-size:10.5pt;font-family:"Courier New";color:black">
HEAD -> refs/publish/master/NNNN </span><span style="font-size:10.5pt;font-family:"Courier New";color:#666666">(</span><span style="font-size:10.5pt;font-family:"Courier New";color:black">prohibited by Gerrit: not permitted: create</span><span style="font-size:10.5pt;font-family:"Courier New";color:#666666">)</span><span style="font-size:10.5pt;font-family:"Courier New";color:black"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:15.6pt;background:#F8F9FA;border:none;padding:0cm">
<span style="font-size:10.5pt;font-family:"Courier New";color:black">error: failed to push some refs to
</span><span style="font-size:10.5pt;font-family:"Courier New";color:#BA2121">'ssh://gerrit.libreoffice.org:29418/core'</span><span style="font-size:10.5pt;font-family:"Courier New";color:black"><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Zhipeng<o:p></o:p></p>
</div>
</body>
</html>