#NEWLINE# def get_repository( self , type , dir , params ) : #NEWLINE# #INDENT# "Return a `SubversionRepository`.\n\n        The repository is wrapped in a `CachedRepository`, unless `type` is\n        'direct-svnfs'.\n        " #NEWLINE# params . update ( tags = self . tags , branches = self . branches ) #NEWLINE# params . setdefault ( 'eol_style' , self . eol_style ) #NEWLINE# repos = SubversionRepository ( dir , params , self . log ) #NEWLINE# if ( type != 'direct-svnfs' ) : #NEWLINE# #INDENT# repos = SvnCachedRepository ( self . env , repos , self . log ) #NEWLINE# #UNINDENT# return repos