backport change from default to get -f option on cw shell, may be necessary for the forthcoming migration...
--- a/cwctl.py Tue Aug 18 14:27:27 2009 +0200
+++ b/cwctl.py Tue Aug 18 17:10:08 2009 +0200
@@ -716,7 +716,13 @@
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 !")
config = cwcfg.config_for(appid)
@@ -728,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: