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

RE: Recovering repository with multiple missing rev/ files

From: Brown, Michael <michael.l.brown_at_philips.com>
Date: Tue, 15 Jun 2010 18:40:31 +0200

> Michael,
> Thanks for jumping in.
> > If someone does have the area in question checked out, you'd have a
> > copy of the log in which to use to repair the repository.
> The revisions are not recent. Would the log of someone's working copy
> include binary deltas needed to recreate the actual revisions? I doubt
> it but it'd be awesome if I were wrong.
> /eiren

The log would have a complete history. I do not believe that the working copy has all of the checked in revisions. Being binary, there are no deltas. The complete file have to be checked in (unless something changed recently). I suspect that you are SOL with binary files. With text files you can get the diffs and reconstruct what a file looked like at a particular revision.
All of this leads to another stupid question? Backups?
Backups can be very important. We recently had a person wipe out the whole of our repository structure. It would have been impossible to rebuild the repository with the history (changes). The latest and greatest of each of the branches exists as working copies. In this case, the whole repository was restored from the nightly backups.
You design it, I'll build it
e-mail: michael.l.brown_at_philips.com
desk: 608-288-6969
cell: 608-206-6843

The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message.
Received on 2010-06-15 18:41:09 CEST

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.