pavement

Subversion

From FreeBSDwiki
Revision as of 09:53, 21 December 2014 by Sidetone (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

svn.conf

The configuration file for subversion 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
Personal tools