Subversion
From FreeBSDwiki
(Difference between revisions)
(Created page with "Here is how to configure and run programs that use subversion, mainly to update FreeBSD source files. ==svnup== Unfortunately, subversion control doesn't come with the base s...") |
m |
||
Line 7: | Line 7: | ||
# man svnup | # man svnup | ||
− | == | + | ===svnup.conf=== |
− | The configuration file for | + | The configuration file for svnup.conf is at ''/usr/local/etc/svnup.conf'', and these set options can be overrode on the command line. |
Here is an example of the configuration file: | Here is an example of the configuration file: | ||
Revision as of 08:59, 21 December 2014
Here is how to configure and run programs that use subversion, mainly to update FreeBSD source files.
svnup
Unfortunately, subversion control doesn't come with the base system, but there is a convenient, dependency-less port called svnup.
# pkg install svnup # man svnup
svnup.conf
The configuration file for svnup.conf is at /usr/local/etc/svnup.conf, and these set options can be overrode on the command line. Here is an example of the configuration file:
# $FreeBSD$ # # Default configuration options for svnup.conf. # [defaults] work_directory=/var/tmp/svnup #host=svn.freebsd.org #host=svn0.us-west.freebsd.org #host=svn0.us-east.freebsd.org #host=svn0.eu.freebsd.org protocol=https verbosity=1 trim_tree=0 extra_files=0 #repository_base= # [release] branch=base/releng/10.1 target=/usr/src # [ports] branch=ports/head target=/usr/ports
This looks simple enough, remove the # [comment out] sign next to the server you wish to use, and adjust other options. For more information type:
# man svnup.conf