You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Dale Worley <dw...@pingtel.com> on 2004/12/01 18:43:38 UTC
RE: Recovering text-base
Mike Crowe wrote:
So, is there an automated way of resurrecting the text-base files
should
they go missing without losing any pending changes or accidentally
reverting checked in changes?
Looking at .svn/entries, it doesn't look like it would be difficult to write
a program using any of the popular scripting languages that would do the job
well enough -- it lists all the files in the parent directory, the revisions
that were checked out, the repository URL for the directory, the timestamp
on the text-base file, etc.
From: Ben Collins-Sussman [mailto:sussman@collab.net]
If a crash happens, don't bother to restore working copies
unless a user tells you that there was a specific patch-in-progress
that needs to be recovered. In that case, you restore the broken
working-copy, have the user checkout a new working-copy, then manually
copy the edited files into the new working-copy.
The svn_load_dirs.pl script should be able to help you with this. But make
sure that the working copy you check out is at least as old as the working
copy that the restored files were from, otherwise you could automatically
reverse some changes.
Dale
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org