我在颠覆方面颇有新意,我想知道如何构建一个仓库。 据我所知,'trunk'目录用于主要开发,'tags'用于快照一个版本,'branches'用于做一些大的更改/测试而不干扰主干。SVN:版本库结构2并行版本的主要版本?
问题是,当一个人有两个主要版本并行开发时:我不太清楚如何构造它。我把蟒蛇langage的为例,这两个版本2和3是在发展中,我看到这些结构可能:
1st one :
===========
repos/
python2/
trunk/
tags/
V2.5/
V2.6/
V2.7/
branches/
big_modif1/
testing2/
python3/
trunk/
tags/
V3.0/
V3.1/
V3.2/
branches/
big_modif43/
testing37/
2nd one :
===========
repos/
python/
trunk/
V2/
V3/
tags/
V2.5/
V2.6/
V2.7/
V3.0/
V3.1/
V3.2/
branches/
big_modif_on_v2.x/
testing2_on_v2.x/
big_modif43_on_v3.x/
testing37_on_v3.x/
3rd one :
===========
repos/
python/
trunk/
tags/
V2.5/
V2.6/
V2.7/
V3.0/
V3.1/
V3.2/
branches/
V2_trunk/
V3_trunk/
big_modif_on_v2.x/
testing2_on_v2.x/
big_modif43_on_v3.x/
testing37_on_v3.x/
什么你会选择(当然,你可以提出别的东西)?
的问题是(与外部组件,何时何地需要它的链接),在我的理解中,有2个'trunk',因为有2个版本正在运行(我的例子中的python2和python3是2个不同的版本,应该可以同时使用) – Eric