New issue
Advanced search Search tips

Issue 782506 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Nov 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

gi cl patch fails

Project Member Reported by karandeepb@chromium.org, Nov 8 2017

Issue description

I was trying to patch in a merged CL- https://chromium-review.googlesource.com/757501 using the command 

git cl patch https://chromium-review.googlesource.com/757501

Here's the output I got:

~/D/c/src (revert_test)> git cl patch https://chromium-review.googlesource.com/757501
canonical issue/change URL: https://chromium-review.googlesource.com/757501 (type: gerrit)

fatal: remote error: internal server error
fatal: The remote end hung up unexpectedly
Command "git fetch https://chromium.googlesource.com/chromium/src refs/changes/01/757501/2" failed.


Is git cl patch not intended to work for already merged CLs?
 
That error is a (should be a?) transient backend error. It failed to fetch the ref, it didn't fail to apply the patch. It already has some retry-with-backoff built in but apparently that wasn't sufficient; I expect that if you try again it will work. Please confirm if it does.

That said, patching in a merged CL that hasn't been reverted will probably fail: the same diff usually can't be applied twice.
Status: WontFix (was: Untriaged)
Yeah it worked now, closing. Thanks.

Sign in to add a comment