# HG changeset patch # User Sylvain Thénault # Date 1250529615 -7200 # Node ID 7fcfb27ab9752cf13169ac43926def435e8f914d # Parent 57ff198060266e3e4d2ba10948decb059c4d5ac4 [c-c shell] add force option to bypass versions checking diff -r 57ff19806026 -r 7fcfb27ab975 cwctl.py --- a/cwctl.py Mon Aug 17 18:37:16 2009 +0200 +++ b/cwctl.py Mon Aug 17 19:20:15 2009 +0200 @@ -717,6 +717,11 @@ sources for migration will be automatically selected.", }), + ('force', + {'short': 'f', 'action' : 'store_true', + 'default' : False, + 'help': 'don\'t check instance is up to date.'} + ), ) def run(self, args): appid = pop_arg(args, 99, msg="No instance specified !") @@ -729,6 +734,7 @@ else: sources = ('all',) config.set_sources_mode(sources) + config.repairing = self.config.force mih = config.migration_handler() if args: for arg in args: