Manage repository checkouts via the svn vcs system. Note that subversion must
be installed for these states to be available, so svn states should include a
requisite to a pkg.installed state for the package which provides subversion
(subversion
in most cases). Example:
subversion:
pkg.installed
http://unladen-swallow.googlecode.com/svn/trunk/:
svn.latest:
- target: /tmp/swallow
Determine if the working directory has been changed.
Export a file or directory from an SVN repository
Address and path to the file or directory to be exported.
Name of the target directory where the checkout will put the working directory
The name revision number to checkout. Enable "force" if the directory already exists.
Name of the user performing repository management operations
The user to access the name repository with. The svn default is the current user
Connect to the Subversion server with this password
New in version 0.17.0.
Continue if conflicts are encountered
Overwrite existing target
Change to False to not checkout or update externals
Automatically trust the remote server. SVN's --trust-server-cert
Comma-separated list of certificate trust failures, that shall be ignored. This can be used if trust=True is not sufficient. The specified string is passed to SVN's --trust-server-cert-failures option as-is.
New in version 2019.2.0.
Checkout or update the working directory to the latest revision from the remote repository.
Address of the name repository as passed to "svn checkout"
Name of the target directory where the checkout will put the working directory
The name revision number to checkout. Enable "force" if the directory already exists.
Name of the user performing repository management operations
The user to access the name repository with. The svn default is the current user
Connect to the Subversion server with this password
New in version 0.17.0.
Continue if conflicts are encountered
Change to False to not checkout or update externals
Automatically trust the remote server. SVN's --trust-server-cert
Comma-separated list of certificate trust failures, that shall be ignored. This can be used if trust=True is not sufficient. The specified string is passed to SVN's --trust-server-cert-failures option as-is.
New in version 2019.2.0.