+ # the filtering range covers the whole series
+ if args:
+ show_patches = parse_patches(args, applied + unapplied, len(applied))
+ else:
+ show_patches = applied + unapplied
+
+ # filter the patches
+ applied = [p for p in applied
+ if p in show_patches and p not in cmp_patches]
+ unapplied = [p for p in unapplied
+ if p in show_patches and p not in cmp_patches]