1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-01-22 21:16:16 +01:00

- do_delete: inform about non existent skipped file

This commit is contained in:
Marcus Huewe 2011-01-18 19:38:33 +01:00
parent 967719e566
commit 7fa621be16

View File

@ -3472,6 +3472,8 @@ Please submit there instead, or use --nodevelproject to force direct submission.
sys.exit('\'%s\' is not under version control' % filename) sys.exit('\'%s\' is not under version control' % filename)
elif state in ['A', 'M'] and not opts.force: elif state in ['A', 'M'] and not opts.force:
sys.exit('\'%s\' has local modifications (use --force to remove this file)' % filename) sys.exit('\'%s\' has local modifications (use --force to remove this file)' % filename)
elif state == 'S':
sys.exit('\'%s\' is marked as skipped and no local file with this name exists' % filename)
def do_resolved(self, subcmd, opts, *args): def do_resolved(self, subcmd, opts, *args):