# svnserve -d -r ***/svn_repository
# svnadmin create ***/svn_repository/project1
配置:
***/svn_repository/project1/conf/svnserv.conf
anon-access=none
password-db = passwd
authz-db = authz
***/svn_repository/project1/conf/passwd
user_jack = 123456
***/svn_repository/project1/conf/authz
[/]
user_jack = rw
加入工程:
$ cd /home/user_jack
$ svn co svn://localhost ./
$ svn add projx
$ svn commit projx -m ""
$ rm -rf .svn
=====================================
svn diff -r HEAD abc.cpp #和服务器的版本做DIFF
svn status --show-updates #查看库里有什么更新
svn log -l 100 # 查看修改记录, 最多100条
svn log -r {2011-01-01}:{2011-01-02} #查看从时间1到时间2的修改记录
svn switch --relocate file:///tmp/repos file:///tmp/newlocation 只有SVN服务器HOST:PORT发生变更
svn switch svn://newloc ./ SVN服务器的路径结构已发生变更
=============================
SVN服务器的Bubble Up数据结构
http://svn.apache.org/repos/asf/subversion/trunk/notes/subversion-design.html#server.fs.struct.bubble-up