从SVN资料库删除文件夹 [英] Deleting a folder from svn repository
本文介绍了从SVN资料库删除文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有时我会在svn上犯错误,并将文件夹卡在我的存储库中.我想删除这些文件夹,但是我找不到解决方法.请记住,我对SVN非常陌生.我正在从Apple终端运行以下命令:
I sometimes make mistakes with svn and have folders stuck in my repository. I want to remove these folders but I cannot figure out a way to do this. Keep in mind I am very new with SVN. I am running this command from apple terminal:
sudo svn delete http://www.yourrepository.com/svn/folder
我收到消息:
Anthony-Work-Mac-Pro:htdocs APN$ sudo svn delete http://www.yourrepository.com/svn/folder
svn: 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 delete
和svn rm
.
我需要做什么?
推荐答案
看起来像是提交消息,并且您没有将系统配置为启动编辑器来添加一个编辑器(未在命令行上指定)
Looks like a commit message is required, and you do not have your system configured to launch an editor for you to add one (without specifying on the command line).
尝试一下:
svn delete http://www.yourrepository.com/svn/folder --message "Deleting"
这篇关于从SVN资料库删除文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文