mirror of
https://github.com/openSUSE/osc.git
synced 2025-10-06 09:19:19 +02:00
addremove: ignore foo.rXX, foo.mine for files which are in 'C' state
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user