mirror of
https://github.com/openSUSE/osc.git
synced 2025-12-04 17:34:47 +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:
@@ -859,13 +859,13 @@ class Osc(cmdln.Cmdln):
|
|||||||
continue
|
continue
|
||||||
|
|
||||||
print 'Transmitting file data ',
|
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:
|
for filename in p.todo_send:
|
||||||
sys.stdout.write('.')
|
sys.stdout.write('.')
|
||||||
sys.stdout.flush()
|
sys.stdout.flush()
|
||||||
p.put_source_file(filename)
|
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']:
|
if conf.config['do_commits']:
|
||||||
p.rev = p.commit(msg=msg)
|
p.rev = p.commit(msg=msg)
|
||||||
print
|
print
|
||||||
|
|||||||
Reference in New Issue
Block a user