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

"svn revert" corrupts working copy

From: Florin Avram <florin_at_sync.ro>
Date: Wed, 19 Feb 2014 12:50:02 +0200

Hi,

I found a situation when using "svn revert" seems to corrupt the working
copy. In a working copy like this:
- wc_root_dir
-- directory
--- file

erase the directory from disk (not using SVN) and create a file with the
same name instead.

"svn status" will report:
~ directory
! directory/file

Now, see the following sequence:

svn revert directory/file
svn: E155009: Failed to run the WC DB work queue associated with
'/wc_root_dir/directory/file', work item 2 (file-install directory/file.
1 0 1 1)
svn: E720087: Can't move '/wc_root_dir/.svn/tmp/svn-3884C5DC' to
'/wc_root_dir/directory/file': The parameter is incorrect.

svn status
svn: E155037: Previous operation has not finished; run 'cleanup' if it
was interrupted

svn cleanup
Gives same message as "svn revert".

svn --version
svn, version 1.8.5 (r1542147)
    compiled Nov 27 2013, 04:10:18 on x86_64/x86-microsoft-windows5.1.2600

Regards,
Florin Avram
Received on 2014-02-19 11:50:41 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.