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

Re: "svn revert" corrupts working copy

From: Stefan Sperling <stsp_at_elego.de>
Date: Wed, 19 Feb 2014 13:36:29 +0100

On Wed, Feb 19, 2014 at 12:17:06PM +0000, Philip Martin wrote:
> Stefan Sperling <stsp_at_elego.de> writes:
>
> > So, just move your file to a safe place, and run 'svn revert' again.
>
> In this case it's 'svn cleanup' after removing the obstruction.

Then I misunderstood the original problem report.

Can you give me a reproduction recipe? Here's what I did:

$ ls epsilon
zeta
$ rm -rf epsilon
$ echo > epsilon
$ svn st
~ epsilon
! epsilon/zeta
$ svn revert epsilon/zeta
svn: E155009: Failed to run the WC DB work queue associated with '/tmp/svn-sandbox/trunk/epsilon/zeta', work item 5 (file-install epsilon/zeta 1 0 1 1)
svn: E000020: Can't move '/tmp/svn-sandbox/trunk/.svn/tmp/svn-6SoBLy' to '/tmp/svn-sandbox/trunk/epsilon/zeta': Not a directory
$ svn cleanup
svn: E155009: Failed to run the WC DB work queue associated with '/tmp/svn-sandbox/trunk', work item 5 (file-install epsilon/zeta 1 0 1 1)
svn: E000020: Can't move '/tmp/svn-sandbox/trunk/.svn/tmp/svn-Sm3yxt' to '/tmp/svn-sandbox/trunk/epsilon/zeta': Not a directory
$ mv epsilon outoftheway
$ svn cleanup
$ svn st
? outoftheway
$ svn --version
svn, version 1.8.5 (r1542147)
   compiled Jan 30 2014, 02:45:04 on x86_64-unknown-openbsd5.5
Received on 2014-02-19 13:37:07 CET

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.