<s> """<STR_LIT>""" <EOL> import os . path <EOL> import sys <EOL> import time <EOL> from cvsgit . main import Command , Conduit <EOL> from cvsgit . i18n import _ <EOL> class init ( Command ) : <EOL> __doc__ = _ ( <EOL> """<STR_LIT>""" ) <EOL> def initialize_options ( self ) : <EOL> self . repository = None <EOL> self . add_option ( '<STR_LIT>' , action = '<STR_LIT:store_true>' , help = _ ( "<STR_LIT>" ) ) <EOL> self . add_option ( '<STR_LIT>' , metavar = '<STR_LIT>' , help = _ ( "<STR_LIT>" <EOL> "<STR_LIT>" <EOL> "<STR_LIT>" ) ) <EOL> self . add_option ( '<STR_LIT>' , action = '<STR_LIT:store_true>' , help = _ ( "<STR_LIT>" ) ) <EOL> def finalize_options ( self ) : <EOL> if len ( self . args ) < <NUM_LIT:1> : <EOL> self . usage_error ( _ ( '<STR_LIT>' ) ) <EOL> elif len ( self . args ) == <NUM_LIT:1> : <EOL> self . repository = self . args [ <NUM_LIT:0> ] <EOL> self . directory = None <EOL> elif len ( self . args ) == <NUM_LIT:2> : <EOL> self . repository = self . args [ <NUM_LIT:0> ] <EOL> self . directory = self . args [ <NUM_LIT:1> ] <EOL> else : <EOL> self . usage_error ( _ ( '<STR_LIT>' ) ) <EOL> def run ( self ) : <EOL> conduit = Conduit ( self . directory ) <EOL> conduit . init ( self . repository , <EOL> domain = self . options . domain , <EOL> bare = self . options . bare , <EOL> quiet = self . options . quiet ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> init ( ) </s>
