You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Fraser Campbell <fr...@wehave.net> on 2003/10/29 17:38:08 UTC

Working copy very screwed up

Hi,

I'm in a situation that I'm not too sure how to get out of.  I've checked a 
bunch of "things" on a webserver into a networked subversion repository.  
"Things" consist of server config files and website content.  Here is the 
output of svn status from the server's root directory:

  L    .
  L    home
  L    home/named
  L    home/named/var
  L    home/named/var/cache
  L    home/named/var/cache/bind
  L    home/named/var/run
  L    home/named/etc
  L    home/named/etc/bind
M      home/named/etc/bind/db.xyz.com
  L    home/named/dev
! L    home/sites
  L    home/sites/www.abc.com
  L    home/sites/www.qwerty.org
  L    home/sites/www.qwerty.org/logs
  L    home/sites/www.qwerty.org/cgi-bin
  L    home/sites/www.qwerty.org/web
  L    home/sites/www.qwerty.org/web/images
! L    home/sites/xyz.net
~      home/sites/xyz.net/web

I believe that my main problem is that final entry.  When trying to check in 
home/named/etc/bind/db.xyz.com this is what I do:

  server:/home/named/etc/bind# svn commit
  svn: Attempted to lock an already-locked dir
  svn: working copy locked: /home/named/etc
  svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)

  server:/home/named/etc/bind# svn cleanup  # Still doesn't work after this

  server:/home/named/etc# svn commit
  svn: Attempted to lock an already-locked dir
  svn: working copy locked: /home/named
  svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)

  server:/home/named/etc# svn cleanup  # Still doesn't work after this

  server:/home/named# svn commit
  svn: Attempted to lock an already-locked dir
  svn: working copy locked: /home
  svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)

  server:/home/named# svn cleanup  # Still doesn't work after this

  server:/home# svn commit
  svn: Attempted to lock an already-locked dir
  svn: working copy locked: /
  svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)

  server:/home# svn cleanup
  svn: Path is not a working copy directory
  svn: svn_wc_cleanup: 'sites/xyz.net/web' is not a working copy directory

  server:/# svn commit
  svn: Attempted to lock an already-locked dir
  svn: working copy locked: /
  svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)

  server:/# svn cleanup
  svn: Path is not a working copy directory
  svn: svn_wc_cleanup: 'home/sites/xyz.net/web' is not a working copy
    directory

Any help appreciated.  I can still work within the /etc and /usr heirarchies 
where some other stuff is checked in.  Just can't work with anything under 
/home.

Thanks,
-- 
Fraser Campbell <fr...@wehave.net>                 http://www.wehave.net/
Halton Hills, Ontario, Canada                             Debian GNU/Linux


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

Re: Working copy very screwed up

Posted by Fraser Campbell <fr...@wehave.net>.
On Wednesday 29 October 2003 13:45, Philip Martin wrote:

> > ~      home/sites/xyz.net/web
>
> 1. You need to move or delete 'home/sites/xyz.net/web' as it's not
>    versioned and it's causing an obstruction ('~' in the status
>    output).
>
> 2. You need to run cleanup on '.' to clear the locks ('L' in the
>    status output).
>
> 3. You need to run update on '.' or 'home/sites' as the working copy
>    is incomplete ('!' in the status output).

Precisely what I needed, thank you very, very much.  A few months ago I was 
running subversionn 0.26 it frequently timed out and was generally *very* 
slow.  Now using 0.32 things are much snappier so hopefully I won't end up in 
quite such a mess for a while at least.

-- 
Fraser Campbell <fr...@wehave.net>                 http://www.wehave.net/
Halton Hills, Ontario, Canada                             Debian GNU/Linux


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

Re: Working copy very screwed up

Posted by Philip Martin <ph...@codematters.co.uk>.
Fraser Campbell <fr...@wehave.net> writes:

>   L    .
>   L    home
>   L    home/named
>   L    home/named/var
>   L    home/named/var/cache
>   L    home/named/var/cache/bind
>   L    home/named/var/run
>   L    home/named/etc
>   L    home/named/etc/bind
> M      home/named/etc/bind/db.xyz.com
>   L    home/named/dev
> ! L    home/sites
>   L    home/sites/www.abc.com
>   L    home/sites/www.qwerty.org
>   L    home/sites/www.qwerty.org/logs
>   L    home/sites/www.qwerty.org/cgi-bin
>   L    home/sites/www.qwerty.org/web
>   L    home/sites/www.qwerty.org/web/images
> ! L    home/sites/xyz.net
> ~      home/sites/xyz.net/web

1. You need to move or delete 'home/sites/xyz.net/web' as it's not
   versioned and it's causing an obstruction ('~' in the status
   output).

2. You need to run cleanup on '.' to clear the locks ('L' in the
   status output).

3. You need to run update on '.' or 'home/sites' as the working copy
   is incomplete ('!' in the status output).

-- 
Philip Martin

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