SVN根据旧分支的本地文件签出新分支
有人对我们的主干进行了分支,现在我需要检查新分支。我已经在本地检查了行李箱。由于它是一个包含 GB 文件的巨大存储库,因此需要很长时间才能签出新分支。
但是由于主干和新分支之间几乎没有文件发生变化,我怎样才能复制本地主干,将其称为分支,然后使用 svn 来弥补差异呢?谢谢!
奖励:如何做到这一点,我什至不需要复制主干,只需解决差异即可。
Someone branched our trunk and now I need to checkout the new branch. I already have trunk checked out locally. Since its a huge repo with GBs of files, it will take forever to checkout the new branch.
But since very few files have changed between the trunk and the new branch, how can I just copy my local trunk, call it the branch, then svn up the differences? Thanks!
Bonus: How to do it where I don't even have to copy trunk, just work off the differences.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你想要 svn switch
在你的工作副本(主干)中,只需
svn switch
you want svn switch
In your working copy (of trunk), just
svn switch <url/to/branch>