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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T21:19:39+00:00 2026-05-16T21:19:39+00:00

I am looking forward to merge my code which I developed in a branch

  • 0

I am looking forward to merge my code which I developed in a branch of SVN to the trunk. I am using Eclipse and I have been using Team->Commit to commit my updates to the SVN. But I haven’t done a merge before. Please help me with this.

  • 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-16T21:19:39+00:00Added an answer on May 16, 2026 at 9:19 pm
    1. First of all make sure you are up to date. Update your working copy of the target branch, ie. where you are merging into. In this example we’re working on the trunk of “core” and we want to grab the changes that have happened in the maintenance branch and merge them.
    2. Resolve any conflicts. There should be no conflicts at this stage between the working copy and the repository.
    3. Select the SVN merge option on the working copy. In Eclipse this is going to be found under the “Team” menu and called “Merge Branch”.
      SVN: Merging in Eclipse
    4. Change the From URL to the specific branch you want to be merged into your working copy. In this example we’re looking for the p400 maintenance branch (./core/branches/p400).
    5. Change the From Revision to the last revision that was merged into the target branch. Essentially you don’t want to keep merging the whole branch history, you just want to include those changes since the last time you merged. There is no easy way to determine the last merge point at this time in Subversion. You have to review your message log and look for the last commit that talks about merging. If you are disciplined about the commit messages you use for merging this should be easy (see below). Make a note of what that revision is — you’ll need this later when you commit your changes.
      SVN: Merge with Eclipse
    6. Change the To Revision to the latest (i.e. head). Make a note of what that revision is — you’ll need this later when you commit your changes.
    7. Click Merge and wait. Depending on how big the differences are this may be quick or Eclipse my just fall over. If you have such an enormous change that you can’t get it done in Eclipse you may need to make the range of revisions you are merging smaller. Or you may even have to skip certain revisions and do them manually if they are massive. We’ve had this problem from time to time when updating large third-party libraries. The vast majority of the time you will be fine.
    8. Review changes and resolve conflicts. Once the merge is complete, look through the changes made to your working copy and make sure you address any conflicts you find.
    9. Once all the changes have been resolved in the target working copy, check them in with a single commit. The reason you’re not doing lots of commits is that these are changes that should have been documented in the branch from which you merged. The commit message needs to be in a specific format that details the merge and is easy to find in the future. We use the following format, but you can use anything that works for you — as long as you stick to it.

      Merging [source] to [target]; [repository]. Merge rev [start]:[end]

    Enjoy!

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

Sidebar

Related Questions

Is this possible? I am looking forward to a tutorial which explains the steps
I am looking forward to move all the logic (which is implemented as manipulating
We've got products built both with GUI and CHUI. Going forward, we're looking at
Looking for feedback on : http://code.google.com/p/google-perftools/wiki/GooglePerformanceTools
Looking for C# class which wraps calls to do the following: read and write
im looking forward to create an upload module where user can browse, click open
I was looking forward to find a cause for my application being crushed at
I am looking forward for an algorithm for the below problem. Problem: There will
I am looking forward to implementing a daily build for an upcoming project. But
I'm looking forward to an interview in C++ in the coming weeks. (yay) So

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.