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

- commit (using the currently documented way): do DELETEs _before_ generating

an "upload" revision with PUTs. The DELETEs would be invalidated by the
  commit.
This commit is contained in:
Dr. Peter Poeml 2007-07-18 13:20:59 +00:00
parent 5c0b0d64b6
commit d260050dc0

View File

@ -859,13 +859,13 @@ class Osc(cmdln.Cmdln):
continue
print 'Transmitting file data ',
for filename in p.todo_delete:
p.delete_source_file(filename)
p.to_be_deleted.remove(filename)
for filename in p.todo_send:
sys.stdout.write('.')
sys.stdout.flush()
p.put_source_file(filename)
for filename in p.todo_delete:
p.delete_source_file(filename)
p.to_be_deleted.remove(filename)
if conf.config['do_commits']:
p.rev = p.commit(msg=msg)
print