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

Re: deleted all .svn/entries files; any way to recover?

From: Eric Hanchrow <offby1_at_blarg.net>
Date: 2006-07-29 22:03:51 CEST

>>>>> "matthew" == matthew garman <matthew.garman@gmail.com> writes:

    matthew> I have a svn working copy that I did a fair amount of
    matthew> work on. In a move of stupidity, I cleared out every
    matthew> .svn/entries file. In other words, every .svn/entries
    matthew> file in my working copy is now a zero-byte file.

    matthew> Is there any reasonably easy way to recover or re-create
    matthew> the files?

    matthew> If not, what's the easiest way to commit the changes I
    matthew> made?

Here's what I'd do:

* get a new working copy by running "svn co" again.

* move all the files from the old, hosed working copy into the new
  working copy (excluding, of course, the files under .svn)

* check in the new working copy

* rm -rf the old one

* resolve to never again muck with stuff in .svn!

-- 
When it comes to electronic voting, most liberals are just plain
old-fashioned nuts.
        -- Joe Andrew, former chairman of the Democratic National
           Committee
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Jul 29 22:09: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.