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

Re: Rebuilding deleted SVN repository

From: Upinder S. Bhalla <bhalla_at_ncbs.res.in>
Date: 2006-06-11 15:51:26 CEST

Thanks - I see that my earlier history is gone. But is there a way to use
the local .svn files to populate the rebuilt repository with the most
recent previous revision in addition to the current state?

-- Upi

On Sun, June 11, 2006 7:06 pm, Ryan Schmidt said:
> On Jun 11, 2006, at 15:00, Upinder S. Bhalla wrote:
>
>> I forgot to back up my SVN repository files from /opt when I
>> upgraded my
>> OS. The disk has been wiped and reformatted. I do have the user
>> subdirectory with the current files and the local .svn subdirectory
>> with
>> the working revision. I realize most of my project history is history,
>> but I would like to reconstruct my SVN project back to the last
>> revision. What should I do?
>
> If you didn't back up the repository, then the history is gone, so
> you only have the revision that's currently checked out in your
> working copy. You could import that into a new repository and start
> over from there.
>
> I believe Subversion (at least the current version, 1.3.2) will
> ignore the .svn directories when importing, so you should just be
> able to "svnadmin create" the repository, "svn import" your old
> working copy into it, and "svn checkout" a new working copy from the
> new repository and get back to work.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Jun 11 16:13:39 2006

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.