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

Can't move directories in my working copy

From: Urs Thuermann <urs_at_isnogud.escape.de>
Date: 2006-04-26 15:46:30 CEST

I try to move a directory (and all its subdirectories) to a new
location in the directory tree of my working copy. But this doesn't
work as expected:

    $ svn co http://.../some-project
    A ...
    ...
    $ cd some-project/...
    $ ls -l
    total 4
    drwxr-xr-x 5 ethuerm ethuerm 4096 Apr 26 15:37 can
    $ svn mkdir net
    A net
    $ svn move can net
    A net/can
    D can/mscan
    D can/vcan.c
    D can/Makefile
    D can/sja1000/sja1000.c
    D can/sja1000/proc.c
    D can/sja1000/sja1000.h
    D can/sja1000/trajet-gw2.c
    D can/sja1000/Makefile
    D can/sja1000/isa.c
    D can/sja1000
    D can
    
You see the old directory and its contents are deleted, the new
directory is created but the contents of the new directory are not
scheduled to be added (although they are in the new new dircetory).

A svn stat show the same output as above and svn diff shows all the
files to be deleted but the new ones not created. Also, I am
surprised that the old directory tree still exists (despite the fact
that it is empty excpet the .svn directories).

I haven't tried to check in these changes as I don't want to risk
damaging the repository.

Am I using svn wrong? I haven't found anything in the FAQ.

urs

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Apr 26 15:48:20 2006

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.