This is a little tip to set up SVN server on Mac.
There is no authentication and authorization.
macde-macbook:/ mac$ svnserve -help
usage: svnserve [-d | -i | -t | -X] [options]
Valid options:
-d [--daemon] : daemon mode
-i [--inetd] : inetd mode
-t [--tunnel] : tunnel mode
-X [--listen-once] : listen-once mode (useful for debugging)
-r [--root] ARG : root of directory to serve
-R [--read-only] : force read only, overriding repository config file
--config-file ARG : read configuration from file ARG
--listen-port ARG : listen port
[mode: daemon, listen-once]
--listen-host ARG : listen hostname or IP address
[mode: daemon, listen-once]
-T [--threads] : use threads instead of fork [mode: daemon]
--foreground : run in foreground (useful for debugging)
[mode: daemon]
--log-file ARG : svnserve log file
--pid-file ARG : write server process ID to file ARG
[mode: daemon, listen-once]
--tunnel-user ARG : tunnel username (default is current uid's name)
[mode: tunnel]
-h [--help] : display this help
--version : show program version information
-r [--root] is used to specified the root directory of your SVN server. For an example, svnserve -d -r /Users/mac/Dropbox/Repositories/ and you can now connect the server with svn://localhost/III_MIT.
This blog records some ideas, notes, and information of my works and studies in information technology.
Thursday, September 16, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment