1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-02-03 18:16:17 +01:00

- delete storefile if the commit was successful

This commit is contained in:
Marcus Huewe 2010-08-23 15:30:31 +02:00
parent d8c59c8438
commit 334fa82d39

View File

@ -1019,6 +1019,9 @@ class Package:
self.write_deletelist()
self.update_datastructs()
for filename in todo_delete:
self.delete_storefile(filename)
if self.filenamelist.count('_service'):
print 'The package contains a source service.'
for filename in self.todo:
@ -1233,8 +1236,9 @@ class Package:
x - - '?'
- x x 'D' and listed in _to_be_deleted
x x x 'D' and listed in _to_be_deleted (e.g. if deleted file was modified)
x x x 'D' and listed in _to_be_deleted (e.g. if deleted file was modified)
x x x 'C' and listed in _in_conflict
x - x 'S' and listed in self.skipped
- - x 'S' and listed in self.skipped
- x x '!'
- - - NOT DEFINED