一: svn diff
(1) 比较本地修改。
svn diff filename;
(2)比较工作拷贝与版本库。
svn diff -r 3 filename;
(3)比较版本库与版本库。
svn diff -r 2:3 filename;
二: svn log
svn log -v -r 160
-v verbose
-r revision
3: svn add delete
(1) svn add file(可以是目录, 但要注意该目录下不能.svn等svn控制文件)
svn ci -m "...." ./ (svn add 仅仅是将文件添加到本地的版本库中, 并没有添加到svn服务器上。)
(2) svn delete file (同svn add)
svn ci -m "...." ./ (同上)