使用 svn 工作副本重命名本地文件夹,无需干净签出
问题:如果我将带有 Subversion 工作副本的文件夹重命名/移动到文件系统中的另一个位置,svn 会抱怨它“不再是工作副本”。人们必须进行干净的结账才能解决这个问题。
原因:我们有一些项目在svn导出每个+分支后大约有1GB。即使通过 LAN (ssh) 进行干净的结帐也需要花费太多时间,更不用说 WAN 了。另一个问题是,当我们使用SmartSVN for Windows时,它还必须重建chache,这也需要很多时间。另一件事是,为我们支持的每个目标重新编译它需要几个小时。
问题:是否可以在不干净签出的情况下重命名本地文件夹?
Problem: If I rename/move folder with Subversion working copy to another location in file system, svn will complain that it "is not a working copy" anymore. One has to do clean checkout to fix that.
Reason: We have some projects with about 1GB after svn export each + branches. It takes too much time to do clean checkout even over LAN (ssh), let alone WAN. Another issue is that, as we use SmartSVN for Windows, it will also have to rebuild chache which also take a lot of time. And another thing it will take hours to recompile it for every target we support.
Question: Is it possible to rename local folder without clean checkout?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
听起来您好像在问如何在文件系统上移动工作副本(例如 changing-working-folder -location),同时保留 SmartSVN 特定的功能,例如缓存和项目视图。
SmartSVN 允许您对项目 > 的任何项目执行此操作编辑工作副本菜单选项,如 SmartSVN 项目 文档页面中所述(相关声明如下):
我使用由 SmartSVN 6.6 签出和管理的工作副本对其进行了测试:
It sounds like you're asking how to move a working copy on your file system (like changing-working-folder-location), while retaining the SmartSVN-specific functionality like the cache and the project views.
SmartSVN allows you to do this to any project with the Project > Edit Working Copy menu option, as described on the SmartSVN projects documentation page (relevant statement below):
I tested it with a working copy checked out and managed by SmartSVN 6.6: