You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Andreas Schildbach <an...@schildbach.de> on 2003/11/15 15:07:02 UTC

move a file one directory up: Entry already exists error

Hello all,

I want to move a file one directory up in my working copy:

C:\temp\svn\trunk\schildbach>svn move build.xml ..
svn: Entry already exists
svn: 'build.xml' already exists and is in the way.

Here are listings of source and destination directories:

C:\temp\svn\trunk\schildbach>dir
15.11.2003  15:56    <DIR>          .
15.11.2003  15:56    <DIR>          ..
15.11.2003  15:56                31 .cvsignore
15.11.2003  15:56             1.829 build.xml
15.11.2003  15:56    <DIR>          src

C:\temp\svn\trunk\schildbach>dir ..
15.11.2003  15:56    <DIR>          .
15.11.2003  15:56    <DIR>          ..
15.11.2003  15:56    <DIR>          schildbach

I also tried

C:\temp\svn\trunk\schildbach>svn move build.xml ../build.xml
svn: Trying to use an unsupported feature
svn: cannot move path 'build.xml' into itself

C:\temp\svn\trunk\schildbach>svn move build.xml ..\build.xml
svn: Trying to use an unsupported feature
svn: cannot move path 'build.xml' into itself

I am using svn 0.32.1 on my Win32 client, svn 0.32.1 on my Debian server.

What am I doing wrong?

Regards,

Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: move a file one directory up: Entry already exists error

Posted by Julian Foad <ju...@btopenworld.com>.
Andreas Schildbach wrote:
> Hello all,
> 
> I want to move a file one directory up in my working copy:
> 
> C:\temp\svn\trunk\schildbach>svn move build.xml ..
> svn: Entry already exists
> svn: 'build.xml' already exists and is in the way.
> 
> Here are listings of source and destination directories:
> 
> C:\temp\svn\trunk\schildbach>dir
> 15.11.2003  15:56    <DIR>          .
> 15.11.2003  15:56    <DIR>          ..
> 15.11.2003  15:56                31 .cvsignore
> 15.11.2003  15:56             1.829 build.xml
> 15.11.2003  15:56    <DIR>          src
> 
> C:\temp\svn\trunk\schildbach>dir ..
> 15.11.2003  15:56    <DIR>          .
> 15.11.2003  15:56    <DIR>          ..
> 15.11.2003  15:56    <DIR>          schildbach

Did you have a file "..\build.xml" under Subversion's control, which you have deleted?  If so, you should use "svn delete ..\build.xml" to tell "Subversion" that you no longer want the file under version control.

If that doesn't seem to solve the problem, go to the ".." directory and then show us the output of "svn status --verbose".

- Julian


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: move a file one directory up: Entry already exists error

Posted by Philip Martin <ph...@codematters.co.uk>.
Andreas Schildbach <an...@schildbach.de> writes:

> I want to move a file one directory up in my working copy:
>
> C:\temp\svn\trunk\schildbach>svn move build.xml ..
> svn: Entry already exists
>
> C:\temp\svn\trunk\schildbach>dir

"dir" only shows the physical filesystem, you should run "svn st" to
see the versioning information.  I suspect ../build.xml will show up
as status "!", i.e. versioned but missing, in which case you probably
want to "svn revert" or "svn rm" it.

-- 
Philip Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org