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

RE: Cryptic message associated with svn delete failure

From: Ward, Mark <MWard_at_netopia.com>
Date: 2006-03-28 21:55:26 CEST

Thanks for you reply, Ryan, sent Saturday, March 25, 2006 10:16 AM.

> On Mar 25, 2006, at 01:48, Ward, Mark wrote:
>
> > I'm getting a cryptic error message when an attempt is made to
remove
> > a symbolic link named 'drivers':
> > svn: 'drivers' is in the way of the resource actually under version
> > control.
>
> Some ideas.
>
> 1. Are you on Windows, and did you check it out on the Windows side
and
> are now trying to manipulate it in Cygwin, or vice versa? That won't
> work well, especially not when there are symlinks involved, since
> Windows natively cannot handle them. A working copy checked out on one
> side should only be used on that side.

I'm on solaris and not windows so this isn't an issue.

> 2. As I read the message, it means the repository thinks there's a
> directory, but in your working copy, there's a symlink. Did the real
> directory somehow get replaced with a symlink? Undo that (rm the
symlink
> and svn up the now-missing directory, I think) to get back to normal.
> Then you can svn rm the directory if that's what you want.

The log history for this link shows that it has simply been imported,
tagged and copied. Previously, its root direcotry, http/htdocs, had
been deleted and at that time the symlink may have been a directory. Is
it possible that subversion is looking through the revision history past
the point of the deletion?

> 3. You could also svn rm the directory directly in the repository with
a
> repository URL if the working copy is so weird that you can't fix it,
> then start over with a new working copy.

I'll experiment with deleting the symlink from the repository and
reestablishing.

Cheer,
Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Mar 28 21:56:14 2006

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