Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
234 views
in Technique[技术] by (71.8m points)

vb.net - Branch to project relationship

I am relatively new to using TortoiseSVN for source control. I am developing a system that contains many .NET project files (a solution can contain many projects). I have one repository and the trunk contains all the projects. What do you do if you want to make a change to a project that references another project. Do you put both projects in the same branch? I have bought a book titled 'Subversion' but it will not arrive for a few days.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

The project files and the source control aren't coupled to one another. Any "branch" is going to include the entire source tree, not individual "projects." (The source control system in this case, SVN, has no knowledge of what a "project" is or how it differs from anything else. It's just a text file in the source tree.)

You should branch at the root of the entire codebase, essentially making the branch be a fully self-sustainable version of the codebase.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...