This was broken by a previous patch.
Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
patches = parse_patches(args, applied + unapplied, len(applied))
commit_id = None
except CmdException:
patches = parse_patches(args, applied + unapplied, len(applied))
commit_id = None
except CmdException:
raise
# no patches found, try a commit id
commit_id = git_id(remote_series, args[0])
raise
# no patches found, try a commit id
commit_id = git_id(remote_series, args[0])
+ if not commit_id and len(patches) > 1:
if options.name:
raise CmdException, '--name can only be specified with one patch'
if options.parent:
if options.name:
raise CmdException, '--name can only be specified with one patch'
if options.parent: