参考:
第一种方法:http://blog.163.com/lgh_2002/blog/static/44017526201046111856208/
第二种方法:http://bbs.acehat.com/thread-3670-1-1.html
AndyMacBookPro:monitor andy$ svn ls svn://192.168.0.178/yewu
28/
branches/
release/
trunk/
AndyMacBookPro:monitor andy$ svn rm svn://192.168.0.178/yewu/28
svn: E205007: Could not use external editor to fetch log message; consider setting the $SVN_EDITOR environment variable or using the --message (-m) or --file (-F) options
svn: E205007: None of the environment variables SVN_EDITOR, VISUAL or EDITOR are set, and no 'editor-cmd' run-time configuration option was found
AndyMacBookPro:monitor andy$
我用了第二种方法,编辑本用户环境:
AndyMacBookPro:monitor andy$ svn ls svn://192.168.0.178/yewu
28/
branches/
release/
trunk/
AndyMacBookPro:monitor andy$ svn rm svn://192.168.0.178/yewu/28
svn: E205007: Could not use external editor to fetch log message; consider setting the $SVN_EDITOR environment variable or using the --message (-m) or --file (-F) options
svn: E205007: None of the environment variables SVN_EDITOR, VISUAL or EDITOR are set, and no 'editor-cmd' run-time configuration option was found
AndyMacBookPro:monitor andy$ sudo vim /etc/bashrc
Password:
AndyMacBookPro:monitor andy$ sudo vim ~/.bash_profile
AndyMacBookPro:monitor andy$ source ~/.bash_profile
AndyMacBookPro:monitor andy$ svn rm svn://192.168.0.178/yewu/28
Log message unchanged or not specified
(a)bort, (c)ontinue, (e)dit:
c
Committed revision 303.
AndyMacBookPro:monitor andy$ svn ls svn://192.168.0.178/yewu
branches/
release/
trunk/
AndyMacBookPro:monitor andy$
当你删除时会出现下列提示:
--This line, and those below, will be ignored--
D svn://192.168.0.178/yewu/28