#NEWLINE# def clone( url , path ) : #NEWLINE# #INDENT# '\n    Clone a repository from `url` into `path`\n    ' #NEWLINE# command = [ 'git' , 'clone' , url , path ] #NEWLINE# return_code = _process ( command ) #NEWLINE# if return_code : #NEWLINE# #INDENT# log . error ( "Cloning '%s' repository failed" , url ) #NEWLINE# raise IOError ( ( "Unable to clone repository '%s'" % ( url , ) ) ) #NEWLINE# #UNINDENT# return True