SVN 不再在所有子文件夹中写入 .svn?
我最近将 SVN 客户端从 1.6.9 升级到 1.7.2,转换为新格式后,我注意到每个子文件夹不再有 .svn。对于我的特定配置来说这不是很方便。
有没有办法撤消此操作或恢复到旧行为,即 CO 中的每个子文件夹都有一个 .svn ?
I recently upgraded my SVN client from 1.6.9 to 1.7.2 and after converting to the new format, I noticed that there is no longer a .svn every sub-folders. For my particular configuration this is not very convenient.
Is there a way to undo this or revert to the old behavior where each subfolder from a CO would have a .svn ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
让 subversion 在每个目录中写出 .svn 目录的最直接方法是将你的 subversion 降级到 1.7 系列之前的版本。 Subversion 1.6.23 是最后一个拥有你想要的行为。
另一种与 Subversion 1.7 及更高版本一起使用的方法是单独检查项目的每个子目录。例如,如果您有一个具有如下目录结构的项目:
您可以通过执行以下操作来检查它:
仅当您的目录很少且它们的组织很浅时,这才是可以容忍的。
否则,降级到较旧的颠覆是您最好的选择。
The most straightforward way to get subversion to write out .svn directories in every directory is to downgrade your subversion to a version before the 1.7 series. Subversion 1.6.23 was the last version to have the behavior you want.
Another way to accomplish this that will work with Subversion 1.7 and later is to individually check out each subdirectory of your project. For example, if you had a project with a directory structure like:
You could check it out by doing something like:
This is only tolerable if you have few directories and their organization is shallow.
Otherwise, downgrading to an older subversion is your best bet.
在此处了解更多信息。
Read more here.