1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-01-23 05:26:16 +01:00

- do_revert: also revert added files by default

This commit is contained in:
Marcus Huewe 2011-09-09 17:30:50 +02:00
parent ca9e38c3d9
commit 5007751215

View File

@ -6989,7 +6989,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
pacs = findpacs(files) pacs = findpacs(files)
for p in pacs: for p in pacs:
if not len(p.todo): if not len(p.todo):
p.todo = p.filenamelist p.todo = p.filenamelist + p.to_be_added
for f in p.todo: for f in p.todo:
p.revert(f) p.revert(f)