11.07.2015 Views

Version Control with Subversion - Login

Version Control with Subversion - Login

Version Control with Subversion - Login

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Subversion</strong> Complete Referencesvnserve allows access to <strong>Subversion</strong> repositories using <strong>Subversion</strong>'s custom networkprotocol.You can run svnserve as a standalone server process (for clients that are using thesvn:// access method); you can have a daemon such as inetd or xinetd launch it for youon demand (also for svn://), or you can have sshd launch it on demand for thesvn+ssh:// access method.Regardless of the access method, once the client has selected a repository by transmittingits URL, svnserve reads a file named conf/svnserve.conf in the repository directoryto determine repository-specific settings such as what authentication database to use andwhat authorization policies to apply. See the section called “svnserve, a Custom Server” fordetails of the svnserve.conf file.svnserve OptionsUnlike the previous commands we've described, svnserve has no subcommands—it iscontrolled exclusively by options.--daemon (-d)Causes svnserve to run in daemon mode. svnserve backgrounds itself and acceptsand serves TCP/IP connections on the svn port (3690, by default).--foregroundWhen used together <strong>with</strong> -d, causes svnserve to stay in the foreground. This ismainly useful for debugging.--inetd (-i)Causes svnserve to use the stdin and stdout file descriptors, as is appropriate fora daemon running out of inetd.--help (-h)Displays a usage summary and exits.--listen-host=HOSTCauses svnserve to listen on the interface specified by HOST, which may be either ahostname or an IP address.--listen-once (-X)Causes svnserve to accept one connection on the svn port, serve it, and exit. Thisoption is mainly useful for debugging.--listen-port=PORTCauses svnserve to listen on PORT when run in daemon mode. (FreeBSD daemonslisten only on tcp6 by default—this option tells them to also listen on tcp4.)--pid-file FILENAMECauses svnserve to write its process ID to FILENAME, which must be writable by theuser under which svnserve is running.--root=ROOT (-r=ROOT)Sets the virtual root for repositories served by svnserve. The pathname in URLsprovided by the client will be interpreted relative to this root and will not be allowed toescape this root.--threads (-T)When running in daemon mode, causes svnserve to spawn a thread instead of a processfor each connection (e.g., for when running on Windows). The svnserve processstill backgrounds itself at startup time.--tunnel (-t)339

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!