env = """DEBFULLNAME="%s" DEBEMAIL="%s" """ % (author, email)
else:
env = ""
- cmd = "%s dch --no-auto-nmu --distribution=%s %s %s" % (env, distribution, versionopt, msg)
+ cmd = "%s dch --no-auto-nmu --distribution=%s %s %s" % (env, distribution, versionopt, escape_commit(msg))
system(cmd)
commit_msg = "UNRELEASED"
commit_author = None
commit_email = None
- add_changelog_section(distribution="UNRELEASED", msg=commit_msg, newversion=options.new_version, author=commit_author, email=commit_email)
+ add_changelog_section(distribution="UNRELEASED", msg=commit_msg,
+ newversion=options.new_version, author=commit_author,
+ email=commit_email)
if commits:
shortlog_to_dch(repo, commits, options)