从所有目录中删除的.svn文件 [英] Removing .svn files from all directories

查看:106
本文介绍了从所有目录中删除的.svn文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可能重复:结果
  <一href=\"http://stackoverflow.com/questions/154853/how-do-you-remove-subversion-control-for-a-folder\">How你删除的Subversion控制文件夹?结果
  <一href=\"http://stackoverflow.com/questions/534798/command-line-to-delete-matching-files-and-directories-recursively\">Command行删除匹配文件及子目录

最近,我将我的CVS库使用cvs2svn到SVN和我最近注意到,每个目录中有一个名为.svn文件的隐藏文件夹。我现在的构建脚本复制了很多从我的版本目录资源目录和它结束了复制的.svn文件。反正有做,当我结帐或者我需要写一个脚本来删除这些文件的.svn SVN不包含这些文件。有迹象表明,有这些隐藏的.svn目录因此这将是一个痛苦,除非我可以写一个脚本递归这样做,但我不知道如果我能为我的Windows安装程序完成这一任务的文件。有没有一种简单的方法,从把这个隐藏目录无处不在我的项目停止SVN?

I recently converted my cvs repository to svn using cvs2svn and I recently noticed that every directory has a hidden folder called .svn. My current build script copies a lot of directories from my versioned resources directories and it ends up copying the .svn files. Is there anyway to make svn not include these files when I checkout or do I need to write a script to delete all these .svn files. There are many files that have these hidden .svn directories so this would be a pain unless I could write a recursive script to do this but I don't if I can do this for my windows installer. Is there an easy way to stop svn from putting this hidden directory everywhere in my project?

推荐答案

您可以做一个叫做SVN导出的事情来获得这些文件没有.svn目录

You can do a thing called an SVN Export to get the files without the .svn directories

HTTP://svnbook.red- bean.com/en/1.7/svn.ref.svn.c.export.html

这篇关于从所有目录中删除的.svn文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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