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

update corrupts wc

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Mon, 18 Oct 2010 18:50:43 +0200

Hi,

Using a build from r1023755 (about 3 hours ago), here's how I can
corrupt the working copy beyond repair (at least I don't know how to
repair it):

svnadmin create repo
svn co file:///d:/repo wc
cd wc
mkdir test
mkdir test\test
mkdir test\test\test
svn add test
svn ci . -m "adding folders"
svn rm test\test\test
svn ci . -m "removing folder"
svn rm test\test
svn ci . -m "removing folder"

now here, I get an "out of date" error (svn: Directory '/test/test' is
out of date). Not sure why this would give such an error, but updating
isn't a big deal so I try this:

svn up .

which corrupts the repository:
    C test\test
...libsvn_subr\sqlite.c:308: (apr_err=235000)
svn: In file '...libsvn_wc\workqueue.c' line 506: assertion failed
(have_base)

After that, the working copy is corrupted. No command works, not even
cleanup or status.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
Received on 2010-10-18 18:51:26 CEST

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.