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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T00:52:21+00:00 2026-05-15T00:52:21+00:00

Possible Duplicate: Merging: hg/git vs. svn Hi, I’m a long time SVN user and

  • 0

Possible Duplicate:
Merging: hg/git vs. svn

Hi,

I’m a long time SVN user and have been hearing a lot of brou ha ha with regard to mercurial and decentralised version control systems in general. The main touted feature that I am aware of is that merging in Mercurial is much easier because it records information for each merge so each successive merge is aware of the previous ones.

Now as stated in the red book, in the section to do with merging, SVN already supports this with mergeinfo. Now I have not actually used this feature (although I wanted to, our repo version wasn’t recent enough) but is this SVN feature particularly different to what Mercurial offers?

For anyone who is not aware the suggested work flow for historical merging in svn is this:

  1. branch from the development trunk to
    do your own thing.

  2. Regularly merge changes from trunk
    into your branch to stay up to date.

  3. Merge back when your done with the
    mergeinfo to smooth the process.

Without historical data merging this is a nightmare because the comparison is strictly on the differences in the files and does not take into account the steps taken on the way. So each change in the development trunk puts you further into possible conflict when you merge back.

Now what I would like to know is:

Does merging using Mercurial provide a significant advantage when compared with mergeinfo in SVN or is this just a lot of hot air about nothing?

Has anyone used the mergeinfo feature in SVN and how good is it actually in practice?

  • 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-15T00:52:21+00:00Added an answer on May 15, 2026 at 12:52 am

    As mentioned in the comments, this SO question pretty much sums it up, but it bears pointing out the exact Subversion (1.6 latest!) documentation stating the merge limitation:

    • Basic Merging (sic) / Reintegrating a branch:
        svn merge --reintegrate ^/branches/my-calc-branc
    

    once a --reintegrate merge is done from branch to trunk, the branch is no longer usable for further work. It’s not able to correctly absorb new trunk changes, nor can it be properly reintegrated to trunk again.

    What? If you did work some more on that branch since the last merge back to trunk, you can no longer make a second --reintegrate merge?
    You have to create another branch or use a cherry-picking syntax with yet another option to keep it alive.

    • Advance merging

    The conclusion tells you all you need to know:

    The bottom line is that Subversion’s merge-tracking feature has an extremely complex internal implementation, and the svn:mergeinfo property is the only window the user has into the machinery. Because the feature is relatively new, a numbers of edge cases and possible unexpected behaviors may pop up.

    For example, sometimes mergeinfo will be generated when running a simple svn copy or svn move command.

    • Sometimes mergeinfo will appear on files that you didn’t expect to be touched by an operation.
    • Sometimes mergeinfo won’t be generated at all, when you expect it to.

    Furthermore, the management of mergeinfo metadata has:

    • a whole set of taxonomies and behaviors around it, such as “explicit” versus “implicit” mergeinfo, “operative” versus “inoperative” revisions,
    • specific mechanisms of mergeinfo “elision,”
    • and even “inheritance” from parent to child directories.

    Let’s compare that to a DVCS:

    Just merge already 😉

    That doesn’t mean SVN doesn’t know how to merge (for simple merge workflow, it will do the job), but the complexity of its underlying mechanism will restrain in effect the usage of branches and merges, making the few merge left fairly trivial.
    By contrast, the ease of merging operations in DVCS will increase the usage of branches and the complexity of merge scenario, which are no longer a problem.

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

Sidebar

Related Questions

Possible Duplicate: What Ruby IDE do you prefer? I've generally been doing stuff on
Possible Duplicate: How does the Google Did you mean? Algorithm work? Suppose you have
Possible Duplicate: Using Git how do I find modified files between local and remote
Possible Duplicate: Why not use tables for layout in HTML? Under what conditions should
Possible Duplicate: NAnt or MSBuild, which one to choose and when? What is the
Possible Duplicate: How do I calculate someone's age in C#? Maybe this could be
Possible Duplicate: .NET - What’s the best way to implement a catch all exceptions
Possible Duplicate: How do you send email from a Java app using Gmail? How
Possible Duplicate: JavaScript: var functionName = function() {} vs function functionName() {} What's the
Possible Duplicate: Singleton: How should it be used Following on from Ewan Makepeace 's

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.