#NEWLINE# def __init__( self , repository ) : #NEWLINE# #INDENT# self . repopath = repository . path #NEWLINE# SCMTool . __init__ ( repository , repository ) #NEWLINE# self . viewtype = self . _get_view_type ( self . repopath ) #NEWLINE# if ( self . viewtype == self . VIEW_SNAPSHOT ) : #NEWLINE# #INDENT# self . client = ClearCaseSnapshotViewClient ( self . repopath ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( self . viewtype == self . VIEW_DYNAMIC ) : #NEWLINE# #INDENT# self . client = ClearCaseDynamicViewClient ( self . repopath ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# raise SCMError ( 'Unsupported view type.' )