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

Re: Recreating of db/revs/XYZ

From: Ryan Schmidt <subversion-2009b_at_ryandesign.com>
Date: Mon, 11 May 2009 19:22:50 -0500

On May 11, 2009, at 07:21, Marcin M. Jessa wrote:

> Due to file system errors I lost one ASCII text file -
> my_repository/db/revs/420
> Is there any way to recreate this file?

Restore that file from your backups. If you don't have a backup, the
data may be irretrievably lost. This is why it is important to make
backups...

> If not, would it be possible to create a dump of the repository from
> rev. number 421 to 509 (my last revision) and to create a new
> repository
> based on that dump?

Not necessarily, since one or more revisions between 421 and 509 may
be based on the missing revision 420. But you can try:

svnadmin dump -r 421:509 /path/to/repos > dumpfile

> I also have an older check out, up to rev. 462 but I cannot figure out
> how to use it to create a new repository and at the same time keep the
> revision history.

It is not possible. A working copy does not contain the entire
repository history. It only contains the specific revisions of files
that were checked out, in this case r462 (for at least some of the
files).

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2200359

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-05-12 02:24:17 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.