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

Re: File delete oddities: os delete conflicts wth svn delete

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2003-01-08 17:48:21 CET

Ben Collins-Sussman <sussman@collab.net> writes:

> Ahhhhh, I see. So you're attempting to explicitly update a directory
> that is now deleted in the repository, right?
>
> Philip, have we seen this issue before? Should I file a new one?

Looks like a new issue.

   svnadmin create repo
   svn mkdir -mx file://`pwd`/repo/foo
   svn rm -mx file://`pwd`/repo/foo
   svn co -r1 file://`pwd`/repo wc
   rm -rf wc/foo

Now updating the whole working copy fails

   svn up wc
   ../svn/subversion/libsvn_wc/lock.c:422: (apr_err=155005)
   svn: Working copy not locked
   svn: directory not locked (wc/foo)

Updating the missing directory also fails

   svn up wc/foo
   ../svn/subversion/libsvn_wc/log.c:288: (apr_err=155009)
   svn: Problem running log
   svn: in directory wc
   ../svn/subversion/libsvn_wc/log.c:1191: (apr_err=155009)
   svn: start_handler: error processing command 'delete-entry' in wc
   ../svn/subversion/libsvn_wc/lock.c:422: (apr_err=155005)
   svn: Working copy not locked
   svn: directory not locked (wc/foo)

and leaves the working copy in a sorry state. If the log file is
deleted (it's usually a bad idea to delete log files) the working copy
can be recovered by running 'svn cleanup wc ; svn up -rBASE wc/foo'.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jan 8 17:49:05 2003

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