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

Re: Recovering from an TortoiseSVN crash

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2006-02-04 16:31:23 CET

Dave Merrill wrote:
> I forgot to say that after the failure, TSVN required a cleanup before I
> could proceed; I didn't see anything different after cleanup, except that it
> let me try again, but I got the same exact result. Second time I sent in the
> crash report.

If any operation gets interrupted (in your case due to a crash), the
working copy is still locked. That's because to start any operation, the
working copy must be locked so other clients can't interfere.
Then you have to run "cleanup", so the locks can be removed and
operations which were only half finished can be undone or finished
(that's what cleanup does).

> After making my safety checkout somewhere else, I tried doing an update into
> the original directory, and it seems to have worked. Everything is where I
> had intended to put it in the first place, files have their revision
> histories intact, folders have their excludes. Looks like what failed was
> the actual moving of files in the file system; my intended actions got
> logged by SVN as having happened.
>
> This was my first rocky experience w SVN/TSVN, though I haven't been a
> long-term or heavy user. Scary though.

Don't be scared. You won't loose data with neither Subversion or TSVN.

Oh, the crash you saw is due to a bug in the Subversion library, which I
reported some time ago. It has already been fixed and backported to the
Subversion 1.3.x branch. So as soon as Subversion 1.3.1 is released, you
won't see that crash again.
FYI: the crash happens if you try to move/copy an unversioned file.

> I guess my question about mod times gives away my SVN-newb-ness (:-). I'd
> assumed that checkouts would mark the files modified at the time the file in
> the repository was last changed. That would seem a lot more useful, though
> you still do have that info visible through SVN.

Go to the TSVN settings dialog, first page. Click on "Edit" for the
Subversion config file. Then you should read that file (the comments in
there). You will find an option "use-commit-time", which you can set to
"yes".

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Sat Feb 4 16:32:03 2006

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

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