1
0
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:
Dr. Peter Poeml 2007-07-06 11:20:30 +00:00
parent 3b78077453
commit eaa08653e0

View File

@ -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)