SVN是否使用通配符删除? [英] SVN Delete with wildcard?

查看:164
本文介绍了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是否使用通配符删除?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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