Specifying open intervals like .. for the delete command would remove
both applied and unapplied patches, which might not be the intended
behaviour. Boundary crossing should be explicit.
Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
else:
iw = stack.repository.default_iw
if args:
else:
iw = stack.repository.default_iw
if args:
- patches = set(common.parse_patches(args, list(stack.patchorder.all)))
+ patches = set(common.parse_patches(args, list(stack.patchorder.all),
+ len(stack.patchorder.applied)))
else:
parser.error('No patches specified')
else:
parser.error('No patches specified')