From 48fc059e0bd5313cf4efbfbc30951e9ea5b557e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Thu, 26 May 2011 16:39:12 +0200 Subject: [PATCH] - fix changelog comments take over to commit log --- osc/commandline.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/osc/commandline.py b/osc/commandline.py index dad6b9ee..162cbcae 100644 --- a/osc/commandline.py +++ b/osc/commandline.py @@ -3570,6 +3570,9 @@ Please submit there instead, or use --nodevelproject to force direct submission. files[pac_path] = pac.todo else: single_paths.append(pac.dir) + if not pac.todo: + pac.todo = pac.filenamelist + pac.filenamelist_unvers + pac.todo.sort() for prj_path, packages in prj_paths.iteritems(): prj = Project(prj_path) if not msg: @@ -3585,6 +3588,9 @@ Please submit there instead, or use --nodevelproject to force direct submission. else: for p in pacs: p = Package(pac) + if not p.todo: + p.todo = p.filenamelist + p.filenamelist_unvers + p.todo.sort() if not msg: msg = get_commit_msg(p.absdir, [p]) p.commit(msg, validators_dir=validators, skip_local_service_run=opts.skip_local_service_run, verbose=opts.verbose)