#NEWLINE# def fetch( path , remote ) : #NEWLINE# #INDENT# '\n    Run git fetch on a repository\n    ' #NEWLINE# command = [ 'git' , 'fetch' , remote ] #NEWLINE# return_code = _process ( command , chdir = path ) #NEWLINE# if return_code : #NEWLINE# #INDENT# log . error ( "Updating '%s' failed." , path ) #NEWLINE# raise IOError ( ( "Unable to fetch new changes '%s'" % ( path , ) ) ) #NEWLINE# #UNINDENT# return True