我有时会在使用 svn 时出错,并在我的存储库中卡住文件夹。我想删除这些文件夹,但我想不出办法。请记住,我对 SVN 很陌生。我正在从苹果终端运行这个命令:
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 delete
和svn rm
。
我需要做什么?
最佳答案
看起来需要提交消息,并且您没有将系统配置为启动编辑器以供您添加(无需在命令行中指定)。
试试这个:
svn delete http://www.yourrepository.com/svn/folder --message "Deleting"
关于linux - 从 svn 存储库中删除文件夹,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9317600/