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

The Archive Base Latest Questions

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

We had this small development project which hadn’t been managed using version control system.

  • 0

We had this small development project which hadn’t been managed using version control system.
Two people were working on the original code-base,so that there were two slightly different copies of the original code-base.
Say these copies “copyA” and “copyB”.

Now I tried to create a SVN repository for these two copies.
I put “copyA” in the trunk and “copyB” in a branch called “branchB”.

Afterwards two developers started working on these two repository paths. (“trunk” and “branchB”).

Then we needed to merge these two branches ,but seems it didnt produce correct result.

Is it necessary that the branches were diverged from the same “code-base” in order to merge in a later stage ?

In my case there wasn’t a single “code-base”. Two of the “copyA” and “copyB” were committed to SVN separately .

  • 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-07T08:21:02+00:00Added an answer on June 7, 2026 at 8:21 am

    It is best if the two branches have the same starting point.
    You can "merge" two unrelated branches in SVN (section "Merges Without Mergeinfo"):

    Merging unrelated sources

    If you ask svn merge to compare two URLs that aren’t related to each other, a patch will still be generated and applied to your working copy, but no merging metadata will be created. There’s no common history between the two sources, and future “smart” merges depend on that common history.

    Note that this a situation where git would be more efficient, since it easy to setup two branches, each starting with "copyA", and erase the content of the second branch with "copyB" (git would detect all the renames, moves and additions introduced by "copyB" compared to "copyA").
    If if you had created two unrelated branches in git, you would still be able to fake a common history and merge them.

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

Sidebar

Related Questions

I had this weird problem a little while ago and haven't been able to
I had this, which was working fine: public static Integer[] photos = new Integer[]
I just wanted to setup a small development environment with Python 3. I had
I have a fair amount of Facebook development experience, but this had made me
i am making a small tooltip feature for my site i had this working
I've been using Git on both Windows and Ubuntu during the development of a
Years ago when I was starting a small development project, the other developers and
My company releases a small software product for which I've recently been taking over
I am trying to sort all of this information into a small table which
I'm working with a small (4 person) development team on a C# project. I've

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.