$ cd /var/svn $ svnadmin create repos $ ls repos conf/ dav/ db/ format hooks/ locks/ README.txt $
创建三个顶级子目录:branches
,tags
和trunk
。将所有需版本化的数据保存到trunk
目录下,同时保持branches
和tags
目录为空:
/tmp/
myproject/
branches/
tags/
trunk/
foo.c
bar.c
Makefile
$ svn import /tmp/myproject file:///var/svn/repos/myproject \ -m "initial import"
conf 里面设置