#NEWLINE# def _RemoteToXml( self , r , doc , root ) : #NEWLINE# #INDENT# e = doc . createElement ( 'remote' ) #NEWLINE# root . appendChild ( e ) #NEWLINE# e . setAttribute ( 'name' , r . name ) #NEWLINE# e . setAttribute ( 'fetch' , r . fetchUrl ) #NEWLINE# if ( r . remoteAlias is not None ) : #NEWLINE# #INDENT# e . setAttribute ( 'alias' , r . remoteAlias ) #NEWLINE# #UNINDENT# if ( r . reviewUrl is not None ) : #NEWLINE# #INDENT# e . setAttribute ( 'review' , r . reviewUrl ) #NEWLINE# #UNINDENT# if ( r . revision is not None ) : #NEWLINE# #INDENT# e . setAttribute ( 'revision' , r . revision )