是否有一个好的做法来创建“trunk”子目录的分支?
我有一个项目,包含很多部分。我将只为项目的一部分而不是整个项目创建一个分支。
有这样做的好习惯吗?
或者,我应该分支整个“主干”,以避免一些问题?
我认为,唯一的问题是对项目的哪些部分实际上是分支的感到困惑。因为 svn 延迟只复制文件夹的内容,所以被分支
I have a project, that contains many parts. I'm going to make a branch for only a subpart of the project, rather the entire project.
Is there a good practice to do so ?
Or, i should branch the entire "trunk", to avoid some problems ?
The only problem, i see, is a confusion about - what part of the project was actually branched. Because svn lazy copies only content of the folder, being branched
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
遵循 svn 标准,您只能从 tag 或 trunk 创建分支。因此,以下是很好的做法:
或者
在这种情况下,您不会担心服务器上的额外空间,因为这些是“虚拟”副本,svn 服务器在修订版之间的实际差异下运行。
Following svn standards, you can make branch only from tag or trunk. So, the following are good practice:
or
You wouldn't bother about extra space on server in this case since these are "virtual" copies, svn server operates with real differences between revisions.
我会选择整个树干的树枝,它不贵。
i would go for branch of whole trunk, its not expensive.