#NEWLINE# def _commit( self , project = None ) : #NEWLINE# #INDENT# '\n        Make the C{project} directory a valid subversion directory with all\n        files committed.\n        ' #NEWLINE# if ( project is None ) : #NEWLINE# #INDENT# project = self . project #NEWLINE# #UNINDENT# repositoryPath = self . mktemp ( ) #NEWLINE# repository = FilePath ( repositoryPath ) #NEWLINE# runCommand ( [ 'svnadmin' , 'create' , repository . path ] ) #NEWLINE# runCommand ( [ 'svn' , 'checkout' , ( 'file://' + repository . path ) , project . path ] ) #NEWLINE# runCommand ( ( [ 'svn' , 'add' ] + glob . glob ( ( project . path + '/*' ) ) ) ) #NEWLINE# runCommand ( [ 'svn' , 'commit' , repository . path , '-m' , 'yay' ] )