Guidelines for Using SVN in Google Code

We used Google Code SVN to store the school project. As we experimented with various ideas, we created new Visual Studio projects and saved them there. Now we want to combine all the different ideas into one final project.

Here is the current repository layout:

- svn - branches - Idea1 - Idea2 - tags - trunk - Sub-Project1 - files (...) - Sub-Project2 - files (...) - Sub-Project3 - files (...) 

I use AnkhSVN together with Visual Studio, I noticed that every time I look at one of the projects, every other project is also checked (I see this when I look at it through Windows Explorer).

Now, when we want to make the final version, I was wondering how to put the final project.

EDIT

I do not think I have explained well above. So I go again.

Are there SVN repositories for a single project in Google code? Or can I use them for several subprojects? The reason I ask is the structure of the SVN file in an empty google code project:

 - svn - branches - tags - trunk 

But I would think that for each subproject these three components are needed.

Maybe I was not clear before that, I renamed parts of the body (into a subproject) in the list above. Each subproject has a unique purpose. I want to combine sub-projects into a larger project.

+4
source share
2 answers

What I would do is reorganize things like this:

 /svn /Sub-Project1 /branches /tags /trunk /Sub-Project2 /branches /tags /trunk ... 

You can do all this with simple svn steps. If your current Idea1 and Idea2 branches have the current über-trunk, I can transfer them to the top level /oldtrunk/branches . Or simply delete them if they are inactive! It will be, they will still be there. :)

Then you indicate that you want to “merge subprojects,” where each “has a unique purpose.” If you want to continue supporting them as fully encapsulated subprojects, I would suggest creating them individually and combining them as libraries, rather than combining the source. In Java, I would use a dependency management tool like Ivy , but I'm not sure which is the best solution for Google Code + Visual Studio. You can use Ivy for non-Java materials, but this is not as intuitive.

+2
source

Please note that you can set the number of levels up from the location of the AnkhSVN solution file that performs the exit. He should ask at what level the project should be checked when using File -> Open Subversion Project , and the property has not yet been set. You can also change it using File -> Subversion -> Change Source Control

+1
source

Source: https://habr.com/ru/post/1303362/


All Articles