1. svnadmin create ~/repository
2. svnserve -d -r ~/repository
3. svn checkout file://~/repository $WORKING_DIR
4. cd $WORKING_DIR
5. svn add your files to svn repository.
svn 创建本地仓库
原文:http://www.cnblogs.com/haobo/p/4036485.html