Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TortoiseSVN lists files as modified, but they are identical

I am merging a hot fix from our QA branch back into our Dev branch. Five files have changed. I do a fresh checkout of the Dev branch. I then do a merge (range of revisions) from QA into the Dev working copy. It brings in five files and there is a conflict on an external and ignore property -- which I resolve by "using local" (dev).

When I check modifications or commit, I expect to see the five files I merged as the only changes. However, I get close to 700 "modified" files showing up in the commit dialog. If I select one of these files and "Compare with base," WinMerge comes up and says the "files are identical."

I have tried this with the file dates set to "last committed" and not.

  • Why are all of these files showing up as modified, when they are identical?
  • What in the merge is causing this?
  • How do I prevent SVN/TortoiseSVN from getting confused this way in the future?
like image 917
BJ Safdie Avatar asked Apr 15 '10 16:04

BJ Safdie


People also ask

How to compare two revisions in svn?

Pick the two revisions you want to compare then use Context Menu → Compare Revisions. If you want to compare the same item in two different trees, for example the trunk and a branch, you can use the repository browser to open up both trees, select the file in both places, then use Context Menu → Compare Revisions.

How to compare two files in svn?

Just hold down the Shift key while you right click on the file. Then select TortoiseSVN → Diff with URL. In the following dialog, specify the URL in the repository with which you want to compare your local file to.

How do I find SVN modified files?

To get an overview of your changes, use the svn status command. You may use svn status more than any other Subversion command. If you run svn status at the top of your working copy with no arguments, it detects all file and tree changes you've made.

What does red exclamation mark mean in TortoiseSVN?

That means the Subversion status is normal. As soon as you start editing a file, the status changes to modified and the icon overlay then changes to a red exclamation mark. That way you can easily see which files were changed since you last updated your working copy and need to be committed.


1 Answers

I've seen this behaviour (or similar behaviour at least) following a merge. However, using TortoiseMerge I could see that whilst the file itself had not changed, there was a related mergeinfo value that had.

The answers posted to question might provide more insight:

Is there a way to turn TortoiseSVN using svn:mergeinfo off?

like image 100
Richard Ev Avatar answered Sep 19 '22 12:09

Richard Ev