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

Re: svn copy locks WC permanently

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2003-09-27 15:24:38 CEST

Markus Schoder <lists@gammarayburst.de> writes:

> $ rm Makefile
> $ svn copy file://$HOME/svnrep/trunk/p2phub/Makefile .

> So the WC is locked and cleanup does not help. I removed the WC and
> checked out a new one which solved the problem.
>
> Obviously the copy command did not make any sense in the first place
> but I think svn should recover gracefully and keep the WC intact.
>
> This was with svn version 0.30.0.

Yes, that's a bug. Here's a complete recipe

$ svnadmin create repo
$ svn import svn-config file://`pwd`/repo/foo
$ svn co file://`pwd`/repo wc
$ rm wc/foo
$ svn cp file://`pwd`/repo/foo wc
$ svn st wc
  L wc
! wc/foo
$ svn cleanup wc
../svn/subversion/libsvn_wc/log.c:294: (apr_err=155009)
svn: Problem running log
svn: in directory 'wc'
../svn/subversion/libsvn_wc/log.c:1179: (apr_err=155009)
svn: start_handler: error processing command 'modify-entry' in 'wc'
../svn/subversion/libsvn_wc/log.c:518: (apr_err=155009)
svn: error merge_syncing entry 'foo'
../svn/subversion/libsvn_wc/entries.c:1409: (apr_err=155013)
svn: Unmergeable scheduling requested on an entry
svn: fold_state_changes: Entry 'foo' already under revision control

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Sep 27 15:25:27 2003

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.