#NEWLINE# def Link( self , name ) : #NEWLINE# #INDENT# 'Update the repo metadata to use a different manifest.\n    ' #NEWLINE# self . Override ( name ) #NEWLINE# try : #NEWLINE# #INDENT# if os . path . lexists ( self . manifestFile ) : #NEWLINE# #INDENT# os . remove ( e . manifestFile ) #NEWLINE# #UNINDENT# portable . os_symlink ( ( 'manifests/%s' % name ) , self . manifestFile ) #NEWLINE# #UNINDENT# except OSError as e : #NEWLINE# #INDENT# raise ManifestParseError ( ( 'cannot link manifest %s: %s' % ( name , str ( e ) ) ) )