SVN是否使用通配符删除?

编程入门 行业动态 更新时间:2024-10-24 22:25:08
本文介绍了SVN是否使用通配符删除?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我正在将VSS存储库迁移到SVN,并且在第一个签入中无意中包含了所有_vti_cnf,*.scc文件.我想将它们从SVN中删除. (当然不是永久的-仅在HEAD中).有问题的应用程序很大,逐个文件夹查找和删除这些文件将花费很多时间.

I'm migrating a VSS repository to SVN and inadvertently included all of the _vti_cnf, *.scc files in the first check-in. I'd like to remove these from SVN. (Not permanently, of course - just in the HEAD). The application in question is quite large, and finding and deleting these files on a folder-by-folder basis will take forever.

建议?必须有一些明显的方法来做到这一点,但是周末的临近干扰了我更高的大脑功能.

Suggestions? There must be some obvious way to do this, but the proximity of the weekend is interfering with my higher brain functions.

推荐答案

乔纳斯的答案应该没问题.也许是因为要在文件系统级别删除它们而绕过Subversion的控制而引起冲突?

Jonas' answer should woirk fine. Maybe you are getting conflicts because you're deleting them on file system level, bypassing Subversion's control?

如果您可以使用 TortoiseSVN ,则以下对我有用(=我在上下文菜单中获得了必要的命令):

If you can use TortoiseSVN, the following works for me (=I get the necessary commands in the context menu):

  • 打开搜索窗口
  • 搜索所有不需要的文件
  • 在列表中选择它们
  • 右键单击
  • 选择"TortoiseSVN">删除"
  • 提交更改

完成!

在提供版本控制建议时通常使用免责声明,请小心,进行备份,我不承担任何责任等.

Usual disclaimer when giving version control advice, be careful, have backups, I'm not taking any responsibility etc. etc.

更多推荐

SVN是否使用通配符删除?

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

发布评论

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

>www.elefans.com

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