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

参考:


第一种方法: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




评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值