parameters: (name, url, dir)
docstring: Checkout the SVN module at url into dir. Use name for the log message.
docstring_summary: Checkout the SVN module at url into dir. Use name for the log message.
docstring_tokens: Checkout the SVN module at url into dir . Use name for the log message .
function: def Checkout(name, url, dir):
    """Checkout the SVN module at url into dir. Use name for the log message."""
    print "Checking out %s r%s into '%s'" % (name, CLANG_REVISION, dir)
  
    command = ['svn', 'checkout', '--force', url + '@' + CLANG_REVISION, dir]
    if RunCommand(command, fail_hard=False):
      return
  
    if os.path.isdir(dir):
      print "Removing %s." % (dir)
      RmTree(dir)
  
    print "Retrying."
    RunCommand(command)
function_tokens: def Checkout ( name , url , dir ) : print "Checking out %s r%s into '%s'" % ( name , CLANG_REVISION , dir ) command = [ 'svn' , 'checkout' , '--force' , url + '@' + CLANG_REVISION , dir ] if RunCommand ( command , fail_hard = False ) : return if os . path . isdir ( dir ) : print "Removing %s." % ( dir ) RmTree ( dir ) print "Retrying." RunCommand ( command )