svn

September 20th, 2011 by usage | Filed under Programming, Revision Control Systems, Subversion (SVN)

Subversion  is  a  version  control  system, which allows you to keep old versions of files and directories (usually source code), keep a log of who, when, and why changes occurred, etc., like CVS, RCS or SCCS.   Subversion  keeps  a single  copy  of the master sources.  This copy is called the source “repository”; it contains all the information to permit extracting previous versions of those files at any time.

# svn –help
usage: svn <subcommand> [options] [args]
Subversion command-line client, version 1.6.17.
Type ‘svn help <subcommand>’ for help on a specific subcommand.
Type ‘svn –version’ to see the program version and RA modules
or ‘svn –version –quiet’ to see just the version number.

Most subcommands take file and/or directory arguments, recursing
on the directories.  If no arguments are supplied to such a
command, it recurses on the current directory (inclusive) by default.

Available subcommands:
add
blame (praise, annotate, ann)
cat
changelist (cl)
checkout (co)
cleanup
commit (ci)
copy (cp)
delete (del, remove, rm)
diff (di)
export
help (?, h)
import
info
list (ls)
lock
log
merge
mergeinfo
mkdir
move (mv, rename, ren)
propdel (pdel, pd)
propedit (pedit, pe)
propget (pget, pg)
proplist (plist, pl)
propset (pset, ps)
resolve
resolved
revert
status (stat, st)
switch (sw)
unlock
update (up)

Subversion is a tool for version control.
For additional information, see http://subversion.tigris.org/

 

# 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

Error: Subversion No repository found

svnserve -d -r /var/svn

Related: http://www.linuxquestions.org/questions/general-10/subversion-no-repository-found-623128/

tag_icon

You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a comment.

To leave a comment, please fill in the fields below.