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 6952161
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T14:18:48+00:00 2026-05-27T14:18:48+00:00

I did a few things wrong while merging trunk into a branch. First I

  • 0

I did a few things wrong while merging trunk into a branch. First I thought it’s easier to checkout a new working copy of the trunk and add all changes “by hand”. Then I thought it’s ok to remove the branched “src” folder and overwrite it with the “src” from the trunk. Now it’s clear that the .svn folders aren’t the right folders (as they belong to the trunk instead of to the branch). So I decided to delete all .svn folders, but now I don’t know how it’s easiest to add it to the branch once again or how to create a new branch with all my changes.

I suppose I did everything wrong so far…

I think I will disconnect my project, checkout the head revision of the branch, but then again I somehow want to “override” the branch, that is more or less replace the whole “src”-folder (standard maven layout).

Well it’s more or less that I can disconnect my changes from svn, which is essentially the current state (“src” is not a working copy, as such I can also disconnect everything). Alternatively I have a copy without the removed .svn folders, but the .svn folders point to the trunk, that’s the whole problem.

kind regards,
Johannes

  • 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-27T14:18:48+00:00Added an answer on May 27, 2026 at 2:18 pm

    Following steps that I use when I want to replace something from another branch into another branch or whatever (under Windows):

    1) checkout latest copy of the original branch from the SVN server. Let say this is the original copy {A}

    2) make a copy of your working copy. Let say this is the modified copy {B}

    3) change directory to the root of your {B} and remove hidden .svn folders from all folders and subfolders of {B}

    CD "{B}"
    
    FOR /F "tokens=*" %G IN ('DIR /B /AD /S *.svn*') DO RMDIR /S /Q "%G"
    

    4) copy {B} to {A}

    5) commit {A}

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

Sidebar

Related Questions

A few years ago I did a lot of work with CGI.pm. I'm evaluating
Did you know that : Map<Object,Object> m1 = new HashMap<Object, Object>(); Map<Object,Object> m2 =
I've built a few services in Delphi 7 and did not have this problem.
I installed Snow Leopard and things have been going great, after a few re-installs.
I just did my first install of PostgreSQL 9.1 on Ubuntu 10.04. note: I
I'm not sure what I did wrong, but I'll try and give as much
I am turning a project of mine into C from C++ and things have
This has happened quite a few times. Application working fine. Then I chose a
Did you ever have to choose between WISA or LAMP at the beginning of
Did you ever had a bug in your code, you could not resolve? I

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.