It was broken by a recent commit to unify the patch name generation.
Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
author_name = author_name,
author_email = author_email,
author_date = author_date)
author_name = author_name,
author_email = author_email,
author_date = author_date)
+ # in case the patch name was automatically generated
+ patchname = newpatch.get_name()
+
# find a patchlog to fork from
(refpatchname, refbranchname, refpatchid) = parse_rev(commit_str)
if refpatchname and not refpatchid and \
# find a patchlog to fork from
(refpatchname, refbranchname, refpatchid) = parse_rev(commit_str)
if refpatchname and not refpatchid and \