#NEWLINE# def main( sysargs = None ) : #NEWLINE# #INDENT# from bloom.config import upconvert_bloom_to_config_branch #NEWLINE# upconvert_bloom_to_config_branch ( ) #NEWLINE# parser = get_argument_parser ( ) #NEWLINE# parser = add_global_arguments ( parser ) #NEWLINE# args = parser . parse_args ( sysargs ) #NEWLINE# handle_global_arguments ( args ) #NEWLINE# try : #NEWLINE# #INDENT# ensure_clean_working_env ( ) #NEWLINE# ensure_git_root ( ) #NEWLINE# #UNINDENT# except SystemExit : #NEWLINE# #INDENT# parser . print_usage ( ) #NEWLINE# raise #NEWLINE# #UNINDENT# git_clone = GitClone ( ) #NEWLINE# with git_clone : #NEWLINE# #INDENT# import_upstream ( args . archive_path , args . patches_path , git_clone . release_version , args . name , args . replace ) #NEWLINE# #UNINDENT# git_clone . commit ( ) #NEWLINE# info ( "I'm happy.  You should be too." )