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

RE: [TSVN] More insight into TortoiseSVN trashed WC problem?

From: Timothy B K. Kientzle <tkientzle_at_zinio.com>
Date: 2004-08-27 19:17:11 CEST

        -----Original Message-----
        From: Stefan Küng [mailto:stefan.kueng@wagner-group.ch]
        Sent: Fri 8/27/2004 12:34 AM
        To: dev@tortoisesvn.tigris.org
        Cc:
        Subject: Re: [TSVN] More insight into TortoiseSVN trashed WC problem?
        
        

        Timothy B K. Kientzle wrote:
> ... I've
> reproduced the problem state on a small sample project
> and tarred up the entire WC to attach to this message.
> Someone who understands SVN internals will hopefully be
> able to figure out what's going on here.
>
> ... With this WC, all of the following
> operations fail, even after a "cleanup" or restarting Explorer
> or even a system reboot:
> * Update fails with
> "Can't copy '.../.svn/text-base/foofoo.txt.svn-base'
> to '.../.svn/tmp/text-base/foofoo.txt.svn-base.tmp':
> The system cannot find the file specified"
> (the "foofoo.txt" file was deleted several revisions earlier, BTW)
> * Commit fails with "Commit failed (details follow):
> File '/svn/play/problem-test/foo.txt' already exists"
        
        You didn't by any chance use the relocate command to switch to a
        different branch?
        

The only operations I used were "checkout", "update", and "commit"

I did not use "switch" or "relocate", I never tinkered with the

internals of the .svn dir, nor did I do anything else that an

ordinary developer wouldn't do a dozen times a day.

 

Nevertheless, TortoiseSVN is somehow terminally confused

about the state of the WC. It refuses to update or commit, cleanup

has no effect, nor does a system reboot.

 

My suspicion is that some internal SVN operation is interrupted

(possibly because of file locking?) and as a result, inconsistent

data is written into the .svn directory. I copied this

trashed WC to another dir and was able to partially recover by deleting

some of the clearly erroneous data from the "entries" file.

 

Unfortunately, I can't seem to find any docs for the "entries"

file, so I couldn't tell you definitively what might be wrong

with it. I was hoping someone on this list would be able to tell me.

 

Tim

Received on Fri Aug 27 20:25:27 2004

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

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