mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-26 22:56:15 +01:00
addremove: ignore foo.rXX, foo.mine for files which are in 'C' state
This commit is contained in:
parent
3b78077453
commit
eaa08653e0
@ -684,6 +684,9 @@ class Osc(cmdln.Cmdln):
|
||||
for filename in p.todo:
|
||||
if os.path.isdir(filename):
|
||||
continue
|
||||
# ignore foo.rXX, foo.mine for files which are in 'C' state
|
||||
if os.path.splitext(filename)[0] in p.in_conflict:
|
||||
continue
|
||||
state = p.status(filename)
|
||||
if state == '?':
|
||||
p.addfile(filename)
|
||||
|
Loading…
Reference in New Issue
Block a user