You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Ward, Mark" <MW...@netopia.com> on 2006/03/25 00:48:23 UTC
Cryptic message associated with svn delete failure
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.
Searching the archive, I can't find a solution or explanation for this
condition. What does this message mean? What can I do to resolve the
condition? For this link and its target, no mods have been made to the
content since it was copied into place.
I've included snapshots of the directory with the link and the error
message resulting from the attempted delete.
Please let me know what else I can provide to investigate this further.
The symbolic link target directory exists and has the same revision
history as the link.
Cheers,
Mark
DIRECTORY
---------
xyz:/.../http/htdocs/equipment% ls -la
total 21
drwxrwsr-x 13 mward webadmin 512 Mar 10 16:03 ./
drwxrwsr-x 35 mward webadmin 1024 Mar 24 16:20 ../
drwxrwsr-x 7 mward webadmin 512 Mar 24 16:26 .svn/
lrwxrwxrwx 1 mward webadmin 27 Mar 10 16:03 drivers ->
../support/hardware/drivers/
SVN DELETE ATTEMPT
------------------
xyz:/.../http/htdocs/equipment% svn delete drivers
svn: 'drivers' is in the way of the resource actually under version
control
SVN LOG
-------
xyz:/.../http/htdocs/equipment% svn log drivers
------------------------------------------------------------------------
r184 | mward | 2006-03-10 15:30:09 -0800 (Fri, 10 Mar 2006) | 1 line
copying calypso docroot form 03/10/2006 into http/htdocs
------------------------------------------------------------------------
r182 | mward | 2006-03-10 15:26:46 -0800 (Fri, 10 Mar 2006) | 1 line
tagging initial import from calypso docroot 03-06-2006 from current
------------------------------------------------------------------------
r181 | mward | 2006-03-10 13:18:02 -0800 (Fri, 10 Mar 2006) | 1 line
initial import of calypso docroot 03/10/2006 following conversion of
malformed EOL characters to unix standard
------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Cryptic message associated with svn delete failure
Posted by Ryan Schmidt <su...@ryandesign.com>.
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.
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.
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.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org