mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-22 21:16:16 +01:00
- do_revert: also revert added files by default
This commit is contained in:
parent
ca9e38c3d9
commit
5007751215
@ -6989,7 +6989,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
||||
pacs = findpacs(files)
|
||||
for p in pacs:
|
||||
if not len(p.todo):
|
||||
p.todo = p.filenamelist
|
||||
p.todo = p.filenamelist + p.to_be_added
|
||||
for f in p.todo:
|
||||
p.revert(f)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user