Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e7031998 authored by Tom Powell's avatar Tom Powell Committed by Abhisek Devkota
Browse files

repopick: open changes are either NEW or OPEN, not just OPEN

Gerrit's API is terrible. I believe it was written by monkeys.

Change-Id: Idb39a357c241ce7923549a3d217f7ee632326e92
parent 7e980a74
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -250,7 +250,7 @@ if __name__ == '__main__':
    for item in mergables:
        print('Applying change number {0}...'.format(item['id']))
        # Check if change is open and exit if it's not, unless -f is specified
        if item['status'] != 'OPEN' and not args.query:
        if (item['status'] != 'OPEN' and item['status'] != 'NEW') and not args.query:
            if args.force:
                print('!! Force-picking a closed change !!\n')
            else: