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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T10:55:08+00:00 2026-05-13T10:55:08+00:00

I have created a branch called feature3 from my trunk. I make zero modifications

  • 0

I have created a branch called “feature3” from my trunk. I make zero modifications to files on the “feature3” branch. There are also no modifications to files on trunk. Using TortoiseCVS (TortoiseSVN 1.6.6, Build 17493 – 32 Bit) against a SVN (version 1.6.3 (r38063)) repo, I initiate a “Merge” with the “Reintegrate a branch” option selected.

The output of this command shows 80 files merged. The only thing changed on these files is the svn:mergeinfo property. But why only these 80 files? I have hundreds of other files in the project that didn’t have this property changed.

Here is an example of the change to the svn:mergeinfo property on a single file

Before:

/trax/branches/current/Libraries/Security/Specifications/NotSpecification.cs:10292-10783
/trax/branches/feature1/Libraries/Security/Specifications/NotSpecification.cs:11324
/trax/branches/feature2/Libraries/Security/Specifications/NotSpecification.cs:11326
/trax/branches/int/Libraries/Security/Specifications/NotSpecification.cs:11232-11314
/trax/branches/next/Libraries/Security/Specifications/NotSpecification.cs:10156-10782
/trax/branches/trax-1.0.x/Libraries/Security/Specifications/NotSpecification.cs:10191-10291
/trax/branches/upgrade/Libraries/Security/Specifications/NotSpecification.cs:9964-10604
/trax/tags/trax-1.0.0/Libraries/Security/Specifications/NotSpecification.cs:10178-10190
/trax/trunk/Libraries/Security/Specifications/NotSpecification.cs:6672-9851,11232-11325

After

/trax/branches/current/Libraries/Security/Specifications/NotSpecification.cs:10292-10783
/trax/branches/feature1/Libraries/Security/Specifications/NotSpecification.cs:11324
/trax/branches/feature2/Libraries/Security/Specifications/NotSpecification.cs:11326
/trax/branches/feature3/Libraries/Security/Specifications/NotSpecification.cs:11328-11334
/trax/branches/int/Libraries/Security/Specifications/NotSpecification.cs:11232-11314
/trax/branches/next/Libraries/Security/Specifications/NotSpecification.cs:10156-10782
/trax/branches/trax-1.0.x/Libraries/Security/Specifications/NotSpecification.cs:10191-10291
/trax/branches/upgrade/Libraries/Security/Specifications/NotSpecification.cs:9964-10604
/trax/tags/trax-1.0.0/Libraries/Security/Specifications/NotSpecification.cs:10178-10190
/trax/trunk/Libraries/Security/Specifications/NotSpecification.cs:6672-9851,11324-11327

The changes are that this line was added

/trax/branches/feature3/Libraries/Security/Specifications/NotSpecification.cs:11328-11334

and the last line was modified

/trax/trunk/Libraries/Security/Specifications/NotSpecification.cs:6672-9851,11324-11327

I expected that the merge would result in zero files being merged. Why would SVN think that these files need to be merged and their svn:mergeinfo property changed? Is there a way to correct this?

Is this a case where I should delete the svn:mergeinfo properties on all 80 files? I am alluding to here and here.

This trivial example is a part of a larger investigation in which I create a feature branch, make several changes and then attempt to merge changes back to the trunk. However, the merge informs me of several tree conflicts on these same 80 files. This is all very frustrating that I cannot use SVN branching due to all these tree conflicts.

  • 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-13T10:55:09+00:00Added an answer on May 13, 2026 at 10:55 am

    But why only these 80 files?

    These files have a svn:mergeinfo property; the others don’t. When individual files and project subfolders have this, it is called “subtree mergeinfo”. Once a file or folder has a “svn:mergeinfo” property, the mergeinfo will be updated on each merge operation.

    If you merge only on the root of your project, and use the latest version of the SVN client, you will rarely see subtree mergeinfo. Only the root folder of the project branches (e.g. /trunk, /branches/foo) should have a svn:mergeinfo property.

    edit: If you simply delete the subtree mergeinfo, then subversion doesn’t know that the merge happened. As a consquence, subversion might try to merge these revisions again whenever let it pick the revisions eligible for merging automatically (e.g. when you do a svn merge without specififying the -r or -c options). In the worst case such a merge attempt might generate some spurious conflicts, which is not a big problem; just resolve them manually.

    update: Subversion 1.7 now only updates mergeinfo when it is necessary. From the release notes:

    Merges no longer record mergeinfo (describing the merge) on subtrees (that have their own explicit mergeinfo), if the subtree was unaffected by the merge. This should greatly reduce the number of spurious svn:mergeinfo property changes for users who have large numbers of subtrees with explicit mergeinfo.

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

Sidebar

Related Questions

In svn, I have a branch which was created, say at revision 22334. Commits
I have created a custom dialog for Visual Studio Setup Project using the steps
I have created a C# class file by using a XSD-file as an input.
I have created a few small flash widgets that stream .mp3 audio from an
Have created a c++ implementation of the Hough transform for detecting lines in images.
I have created a template for Visual Studio 2008 and it currently shows up
I have created a PHP-script to update a web server that is live inside
I have created a UserControl that has a ListView in it. The ListView is
i have created a workflow activity that do give the item creater of a
I have created a foreign key (in SQL Server) by: alter table company add

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.