[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: Dave Merrill <dmerrill_at_usa.net>
Date: 2006-02-04 14:31:38 CET

> > TortoiseSVN crashed while I was trying to move everything at the top
> > level of a working copy into a new folder I'd created there. It
> > left some files moved and some not; I didn't do an exact inventory.
> >
> > I thought the best thing to do from there would be to revert to the
> > previous version, but when I did that, the result was that all
> > files were deleted, at all levels, leaving only empty directories,
> > several of which were flagged for deletion judging by their icons.
> >
> > For safety's sake, I did a checkout from that prior version into a
> > new directory, and that worked, but all files appear modified at
> > the time I checked them out.
> >
> > Is this likely to be the best I can do from here? Any other ideas?
> >
> > Have other people had trouble doing this kind of move?
>
> In the case where a svn operation is interrupted in the middle, its
> best to attempt to do a svn cleanup first, as that might actually
> pick up where it left off and finish the operation. Checking out a
> fresh working copy is probably the best method as long as you didn't
> have a bunch of modified files in those directories that you'd have
> to copy back over. Subversion always marks files with modified
> time as whenever you checked them out or updated them.

Thanks for replying Jody.

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.

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.

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.

Thanks again,

Dave Merrill

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Sat Feb 4 14:31:50 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.