从 svn 存储库中删除文件夹 [英] Deleting a folder from svn repository

查看:17
本文介绍了从 svn 存储库中删除文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有时会在使用 svn 时出错,并将文件夹卡在我的存储库中.我想删除这些文件夹,但我想不出办法来做到这一点.请记住,我对 SVN 很陌生.我从苹果终端运行这个命令:

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 删除 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 deletesvn 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆