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

  • SEARCH
  • Home
  • 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 951053
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T23:40:08+00:00 2026-05-15T23:40:08+00:00

I have an SVN project with a branch I’m working on, and an empty

  • 0

I have an SVN project with a branch I’m working on, and an empty trunk:

myproject/
  branches/
    mybranch/
      {there's stuff here}
  tags/
  trunk/

How can I copy the contents of mybranch into the trunk? TortoiseSVN complains that there’s already a trunk directory. I could delete the (empty) trunk from the repository and then do a copy, but that seems wrong somehow…


clarification: I have a trunk which I intentionally left empty. My “mybranch” is all checked in. In the repo-browser, TortoiseSVN gives me a “copy” option but not a merge option.

If merging is the right thing to do, what do I do? Do I check out the empty trunk and then merge into that working copy, then check back in?


update: Merge won’t work either; SVN complains the two “branches” (branches/mybranch and trunk) are not ancestrally related.

  • 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-05-15T23:40:09+00:00Added an answer on May 15, 2026 at 11:40 pm

    I’d do what you mentioned, delete the trunk and then copy the branch. It is a little wrong, but it’s because you didn’t copy to make the branch in the first place.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have two SVN repostitories: Project A trunk tags branches Project B trunk tags
We have a main visual studio project stored in SVN using the standard trunk/branches/tags
I have the following SVN structure: iPhone -> Project A -> trunk, branch, tags
I have some SVN projects with this folder structure project/trunk/ project/branches/1.x project/branches/2.x project/branches/3.x First
We have the trunk of out project at http://server/repositiory/project/trunk and a branch at http://server/repositiory/project/branches/branch
I have an SVN (1.6.12) project containing a trunk and one branch. I am
I have two checkouts of one trunk of a project via SVN. One is
In a recent embedded project, we have used the following svn structure: project branches
I have an Svn repository at http://svn.domain.com/project that is structured as follows: trunk/ build_file_1.xml
We're using a standard svn layout (/branches/x.y, /tags, /trunk) and mvn release (i.e. maven-release-plugin)

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.