Merge "Fix git review -d M,N with later gerrit"
This commit is contained in:
commit
211eb98a2a
@ -1209,7 +1209,7 @@ def fetch_review(review, masterbranch, remote, project):
|
|||||||
refspec = review_info['currentPatchSet']['ref']
|
refspec = review_info['currentPatchSet']['ref']
|
||||||
else:
|
else:
|
||||||
refspec = [ps for ps in review_info['patchSets']
|
refspec = [ps for ps in review_info['patchSets']
|
||||||
if ps['number'] == patchset_number][0]['ref']
|
if str(ps['number']) == patchset_number][0]['ref']
|
||||||
except IndexError:
|
except IndexError:
|
||||||
raise PatchSetNotFound(review_arg)
|
raise PatchSetNotFound(review_arg)
|
||||||
except KeyError:
|
except KeyError:
|
||||||
|
Loading…
Reference in New Issue
Block a user