[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: "Skipped missing target" problem

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-12-14 17:08:04 CET

On Dec 14, 2004, at 9:30 AM, Ronan Meneu wrote:
> The problem, to be more precise, is around directories created in the
> trunk. They are not created in the branch, and what is mentionned to
> be "skipped missing target" is the content of these directories.
> Any ideas why ?

'svn merge' compares two trees, creates a 'patch', then applies that
patch to a working copy.

If you ever see "skipped missing target" messages, that means you have
defined a patch which does not cleanly apply to your working copy.
Just like the 'patch' program complains about "failed hunks" not
applying, 'svn merge' is doing the same thing.

So, for example, if you compare two trees with the merge command, and
the resulting patch includes a change to foo/bar/baz.c, but the 'bar'
directory doesn't exist in your working copy, you'll get messages about
"skipping" over that part of the patch. It cannot change foo/bar/baz.c
if the path doesn't exist!

Most of the time this problem happens because users are confused and
are specifying the wrong trees to compare. So the solution is:
compare different trees. For example, you probably need to define a
patch that includes the *creation* of the bar directory.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Dec 14 17:10:45 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.