如何删除文件夹的 Subversion 控件? [英] How do you remove Subversion control for a folder?

查看:35
本文介绍了如何删除文件夹的 Subversion 控件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个文件夹,c:\websites\test,其中包含从不再存在的存储库中检出的文件夹和文件.如何让 Subversion 停止跟踪该文件夹以及任何子文件夹和文件?

I have a folder, c:\websites\test, and it contains folders and files that were checked out from a repository that no longer exists. How do I get Subversion to stop tracking that folder and any of the subfolders and files?

我知道我可以简单地删除 .svn 文件夹,但是很多层中有很多子文件夹.

I know I could simply delete the .svn folder, but there are a lot of sub-folders in many layers.

推荐答案

此外,如果您使用的是 TortoiseSVN,只需导出到当前工作副本位置,它就会删除 .svn 文件夹和文件.

Also, if you are using TortoiseSVN, just export to the current working copy location and it will remove the .svn folders and files.

http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-export.html#tsvn-dug-export-unversion

Subversion 1.7 的更新答案:
在 Subversion 1.7 中,工作副本已被广泛修订.只有一个 .svn 文件夹,位于工作副本的底部.如果您使用的是 1.7,那么删除 .svn 文件夹及其内容是一个简单的解决方案(无论使用 TortoiseSVN 还是命令行工具).

Updated Answer for Subversion 1.7:
In Subversion 1.7 the working copy has been revised extensively. There is only one .svn folder, located in the base of the working copy. If you are using 1.7, then just deleting the .svn folder and its contents is an easy solution (regardless of using TortoiseSVN or command line tools).

这篇关于如何删除文件夹的 Subversion 控件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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