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

Categories

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

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

1 Answer

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...