tags:

views:

669

answers:

1

I received this message when I ran a SVN UP:

Skipped 'trunk/scripts/accountability_survey_report.php'
At revision 1585.
Summary of conflicts:
  Skipped paths: 1

I've been googling trying to figure out exactly what this means and how to resolve it. I tried deleting the file and then just svn up again, but I get the following:

Restored 'trunk/scripts/accountability_survey_report.php'
Skipped 'trunk/scripts/accountability_survey_report.php'
At revision 1585.
Summary of conflicts:
  Skipped paths: 1

Any help is appreciated.

Thnx, MS

A: 

This SO question might help you. The answer it gives is:

Never, ever, forget to commit a run of svnmerge.py before doing something else. Combining a merge with other edits is a recipe for a disaster, and the disaster is what you see in the question.

The SVN Book also says:

Whatever the case, the “skipped” message means that the user is most likely comparing the wrong two trees; they're the classic sign of driver error. When this happens, it's easy to recursively revert all the changes created by the merge (svn revert --recursive), delete any unversioned files or directories left behind after the revert, and re-run svn merge with different arguments.

And then there's this blog post that claims:

I finally found a posting with instructions on how to merge in spite of the “Skipped” error message… so I tried it, and it worked (in spite of the misleading messages). The trick really is to ignore the messages.

Note that following the merge, files that are in the source branch and not in the destination branch need to be svn added before they will end up in the destination.

It seems the general consensus is that you need to do a proper merge of the file in question.

Franci Penov
Thanks Franci, I guess I'm confused at how one would even do a incorrect merge (i'm trying to fix something someone else committed) ... but on to fixing it. So if I copy the current file off, do a svn revert --recursive filenameThen open that file and replace it with the saved file, that should fix it?
Mark Steudel
Yep, that ought to do. Of course you'll have to review your changes later, as I suspect there's a conflict between what you touched and what's in the repo.
Franci Penov
Some more info, trying to deduce what happened, I found this error message when doing a svn info FILENAMETree conflict: local delete, incoming edit upon updateand this one:Tree conflict: local obstruction, incoming add upon mergeI found this post that fixed my problem:http://little418.com/2009/05/svn-local-obstruction-incoming-add-upon-merge.html
Mark Steudel
Hey, at least you got it working now! :-)
Franci Penov
:) yeah though I still don't grasp exactly why this happens ...
Mark Steudel