Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8248357
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T23:10:00+00:00 2026-06-07T23:10:00+00:00

I have a VS2010 solution that includes multiple projects. The folder structure looks like

  • 0

I have a VS2010 solution that includes multiple projects. The folder structure looks like this:

C:\Dev\MyProduct
    MyProduct.sln
    UI
        UI.csproj
        SomeFile.cs
    Model
        Model.csproj
        SomeModel.cs

I created a branch of the first production release of the code. It turns out I had to make a few fixes in that branch, and now want to re-integrate that branch into the trunk. I’m using TortoiseSVN to do that (I also tried AnkhSVN with similar results).

If I select the folder

C:\Dev\MyProduct

right-click and select TortoiseSVN / Merge I am guided through a wizard that allows me to select Reintegrate a branch, enter the URL of my branch, and run the merge. That results in

Neither the reintegrate source nor target can be the root of the repository

If I repeat the same steps with

C:\Dev\MyProduct\Model

the merge is successful. I guess the error message is telling me that I just can’t do that at the root level.

Questions

  1. Do I have any option given the current structure to merge the branch entirely, other than to select each project’s folder (there are many more than the 2 in the example) and repeat the procedure, then to repeat the procedure for each file under C:\Dev\MyProduct?
  2. Is it not advisable to structure SVN in this manner? If not, how should I structure things so that I have one repository per product?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T23:10:02+00:00Added an answer on June 7, 2026 at 11:10 pm

    You will probably want to structure your repository differently. There are two general ways you could do this:

    /project1/trunk
    /project1/branches
    /project1/tags
    /project2/trunk
    /project2/branches
    /project2/tags
    ...
    

    and:

    /trunk/project1
    /trunk/project2
    /branches
    /tags
    

    Which one you choose will depend on whether you want to branch and merge each individual project (first option), or all the projects together (second option).

    If you need to move your existing project files that are sitting in the repository root into a new /trunk directory, you will need to do something like the following:

    cd /path/to/repo
    files=`eval "echo *"`
    mkdir trunk branches tags
    svn add trunk branches tags
    svn commit -m "adding the proper subdirectories"
    svn mv `echo $files | sed 's/^/^\//g' | sed 's/ / ^\//g'` ^/trunk/ -m "moving project files into trunk"
    svn up
    

    If you do it by hand, that “svn mv” line will look something like this:

    svn mv ^/dir1 ^/dir2 ^/file1 ^/file2 ^/trunk/ -m "moving project files into trunk"
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have a VS 2010 solution that includes a few class library projects, a
I have a VS2010 solution that has two projects. The first project [DevLib] is
I have a solution in VS2010 with several projects, each making up a layer
I have a Scripts folder, that includes all the .js files used in the
I have VS2010 and solution with many projects, I want to add MSBuild script
I have a VS2008 Professional solution that I tried to convert to VS2010 Professional
I have some projects in a solution that are running on .net 3.5 SP1
Greetings! I have a solution in VS2010 that defines 3-4 individual applications. These 3-4
I have a solution file that has the following example projects: SharedLibrary NonSharedLibrary WebProject
I have a big VS2010 solution, which contains a bunch of C# projects. One

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.