<p dir="ltr">Did you also report that bug for the Gerrit guys to fix? <br>
</p>
<div class="gmail_quote">On Mar 28, 2016 17:04, "Tomer Saban" <<a href="mailto:tsaban@redhat.com">tsaban@redhat.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I came across a bug in Gerrit when trying to delete a draft. It seems that it ruins<br>
the patchset(Gerrit doens't set the new last revision properly).<br>
So, in order to fix this issue we need to reset the last revision.<br>
<br>
In order, to do that you need to find the last revision after deleting the draft(Let's assume it's 23).<br>
Once, you have that you need to number of the patch in gerrit. For example, the number in:<br>
<a href="https://gerrit.ovirt.org/#/c/51636/" rel="noreferrer" target="_blank">https://gerrit.ovirt.org/#/c/51636/</a> is 51636.<br>
<br>
Last, You need to run the following line from the shell:<br>
ssh <a href="http://gerrit.ovirt.org" rel="noreferrer" target="_blank">gerrit.ovirt.org</a> gerrit review --rebase 51636,23<br>
<br>
FYI,<br>
Tomer<br>
<br>
_______________________________________________<br>
Devel mailing list<br>
<a href="mailto:Devel@ovirt.org">Devel@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/devel</a><br>
<br>
<br>
</blockquote></div>