使用Subversion: 快速指南
此段提供使用Subversion作为版本控制用途的说明。我们从导入Subversion项目的初始版本开始:
$ find /tmp/hello -print 显示目录的布局
/tmp/hello
/tmp/hello/branches 分支开发的目录
/tmp/hello/tags 已加标记的版次的目录
/tmp/hello/trunk
/tmp/hello/trunk/hello.c 在主干上所做的主线开发
/tmp/hello/trunk/Makefile
/tmp/hello/trunk/README
下一个步骤是创建仓库,然后将此项目导入其内:
$ svnadmin create /path/to/svnrepos
$ svn import /tmp/hello file:///path/to/svnrepos -m "initial import"
Adding /tmp/hello/trunk
Adding /tmp/hello/trunk/hello.c
Adding /tmp/hello/trunk/Makefile
Adding /tmp/hello/trunk/README
Adding /tmp/hello/branches
Adding /tmp/hello/tags
Committed revision 1.
现在项目已存在于Subversion内,我们将检出工 ...... (共2572字) [阅读本文]>>