http://boyun.sh.cn/blog/?p=688
SVN服务的启动与关闭
- 关闭
- 查到服务的进程号:
[test@localhost svn]$ ps -A | grep svn
4094 ? 00:00:00 svnserve - 关闭进程:kill 4094
- 查到服务的进程号:
- 启动
- 启动服务:
[test@localhost svn]$ svnserve -d -r test - netstat -ntlp看3690端口是否正常开放
- 启动服务:
- 测试状态
- [test@localhost svn]$ svn info file:///home/test/svn/test/
Path: testRepository UUID: e0b65e05-4077-4f25-a81c-0289db937435Revision: 385Node Kind: directoryLast Changed Author: testLast Changed Rev: 385Last Changed Date: 2008-12-02 16:19:57 +0800 (Tue, 02 Dec 2008)[ test @localhost svn]$ svn info svn://192.168.20.19Path: 192.168.20.19URL: svn://192.168.20.19Repository Root: svn://192.168.20.19Repository UUID: e0b65e05-4077-4f25-a81c-0289db937435Revision: 385Node Kind: directoryLast Changed Author: testLast Changed Rev: 385Last Changed Date: 2008-12-02 16:19:57 +0800 (Tue, 02 Dec 2008)2008-12-02 16:19:57 +0800 (Tue, 02 Dec 2008)0
[
test
@localhost svn]$ svn help
usage: svn <subcommand> [options] [args]
Subversion command-line client, version 1.5.4.
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/