#NEWLINE# def switch( cwd , remote , target = None , user = None , username = None , password = None , * opts ) : #NEWLINE# #INDENT# "\n    .. versionadded:: 2014.1.0\n\n    Switch a working copy of a remote Subversion repository\n    directory\n\n    cwd\n        The path to the Subversion repository\n\n    remote : None\n        URL to switch\n\n    target : None\n        The name to give the file or directory working copy\n        Default: svn uses the remote basename\n\n    user : None\n        Run svn as a user other than what the minion runs as\n\n    username : None\n        Connect to the Subversion server as another user\n\n    password : None\n        Connect to the Subversion server with this password\n\n    CLI Example:\n\n    .. code-block:: bash\n\n        salt '*' svn.switch /path/to/repo svn://remote/repo\n    " #NEWLINE# opts += ( remote , ) #NEWLINE# if target : #NEWLINE# #INDENT# opts += ( target , ) #NEWLINE# #UNINDENT# return _run_svn ( 'switch' , cwd , user , username , password , target )