从SVN资料库删除文件夹

编程入门 行业动态 更新时间:2024-10-18 12:24:58
本文介绍了从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 www.yourrepository/svn/folder

我收到消息:

Anthony-Work-Mac-Pro:htdocs APN$ sudo svn delete www.yourrepository/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 www.yourrepository/svn/folder --message "Deleting"

更多推荐

从SVN资料库删除文件夹

本文发布于:2023-10-24 14:12:55,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1524154.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:资料库   文件夹   SVN

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!