mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-05 02:56:17 +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:
|
for filename in p.todo:
|
||||||
if os.path.isdir(filename):
|
if os.path.isdir(filename):
|
||||||
continue
|
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)
|
state = p.status(filename)
|
||||||
if state == '?':
|
if state == '?':
|
||||||
p.addfile(filename)
|
p.addfile(filename)
|
||||||
|
Loading…
Reference in New Issue
Block a user