mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-11 16:36:14 +01:00
- adapt 'osc pull' to new addlist implementation
This commit is contained in:
parent
6b618b29be
commit
1299063228
@ -5756,6 +5756,10 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
|||||||
print statfrmt('D', name)
|
print statfrmt('D', name)
|
||||||
p.put_on_deletelist(name)
|
p.put_on_deletelist(name)
|
||||||
os.unlink(name)
|
os.unlink(name)
|
||||||
|
elif md5_old == '':
|
||||||
|
print statfrmt('A', name)
|
||||||
|
self.download(name, md5_new, dir_new, name)
|
||||||
|
p.put_on_addlist(name)
|
||||||
else:
|
else:
|
||||||
print statfrmt('U', name)
|
print statfrmt('U', name)
|
||||||
self.download(name, md5_new, dir_new, name)
|
self.download(name, md5_new, dir_new, name)
|
||||||
@ -5790,6 +5794,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
|||||||
print statfrmt('?', name)
|
print statfrmt('?', name)
|
||||||
p.put_on_conflictlist(name)
|
p.put_on_conflictlist(name)
|
||||||
p.write_deletelist()
|
p.write_deletelist()
|
||||||
|
p.write_addlist()
|
||||||
p.write_conflictlist()
|
p.write_conflictlist()
|
||||||
# store new linkrev
|
# store new linkrev
|
||||||
store_write_string(p.absdir, '_pulled', linkinfo_new.get('srcmd5') + '\n')
|
store_write_string(p.absdir, '_pulled', linkinfo_new.get('srcmd5') + '\n')
|
||||||
|
Loading…
Reference in New Issue
Block a user