您的位置:首页 > 其它

svn rm 时报错 svn: E205007: None of the environment variables SVN_EDITOR, VISUAL or EDITOR are set, and

2014-08-07 16:30 435 查看
参考:

第一种方法: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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐