[prev in list] [next in list] [prev in thread] [next in thread] 

List:       subversion-users
Subject:    Re: deleted all .svn/entries files; any way to recover?
From:       Eric Hanchrow <offby1 () blarg ! net>
Date:       2006-07-29 20:03:51
Message-ID: 87u050i3fc.fsf () offby1 ! atm01 ! sea ! blarg ! net
[Download RAW message or body]

>>>>> "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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic