From 7fa621be169f4ffaf6110b8978a3f6cb1490cf78 Mon Sep 17 00:00:00 2001 From: Marcus Huewe Date: Tue, 18 Jan 2011 19:38:33 +0100 Subject: [PATCH] - do_delete: inform about non existent skipped file --- osc/commandline.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/osc/commandline.py b/osc/commandline.py index 9564b5a2..b7026c4d 100644 --- a/osc/commandline.py +++ b/osc/commandline.py @@ -3472,6 +3472,8 @@ Please submit there instead, or use --nodevelproject to force direct submission. sys.exit('\'%s\' is not under version control' % filename) elif state in ['A', 'M'] and not opts.force: 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):