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

Re: Restore lost repository from last-checked-out working copy

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-01-11 18:13:35 CET

On Jan 11, 2005, at 10:40 AM, Kevin Jackson wrote:

> Hi, all!
>
> Here's my tale of woe... :-)
>
> A disk array on our Subversion server went bad, and the sysadmin, in
> fixing the disk array, wiped out both the Subversion repository AND the
> backup. C'est la vie...
>
> Luckily, the night before, after rebuilding my laptop, I checked out
> everything from the repository.
>
> Is there anyway I can use this checked-out working copy to restore the
> repository on a new server? Please...? <whimper>
>
> Thanks for any assistance. :-)
>

If the repository is gone, so is the history. All you can do is create
a new, empty repository, then 'svn import' the contents of the working
copy. The new repository's revision 1 will be equal to the old
repository's HEAD revision.

(And after doing that, tell everyone to toss their existing working
copies; they'll be useless. Everyone will need to do a fresh
checkout.)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jan 11 18:18:28 2005

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.