Re: Xcode 3.x and Subversion 1.5.0
Re: Xcode 3.x and Subversion 1.5.0
- Subject: Re: Xcode 3.x and Subversion 1.5.0
- From: Simon Wilson <email@hidden>
- Date: Thu, 17 Jul 2008 00:16:59 +0200
> If you delete everything in the repository, then you've lost all
your history
Marshall's absolutely right about the history, but he's wrong on the
files. You can still export the repository status for the last
revision before the fatal delete:
svn export -r 12345 svn://server/repos/path ~/Desktop/Repos
It might take a long time but at least the files can be recovered. The
repository is basically defunct though as the history has been broken
for all files.
An svnadmin dump might also help: dump from revision 0:n-1 where n-1
is the revision before the delete. Then load this into a clean
repository. This should result in a repository with the history still
intact.
Still, none of this is a replacement for a decent repository backup
strategy...
Simon Wilson
Cornerstone: Subversion client for Mac OS X
http://www.zennaware.com
On Jul 16, 2008, at 23:42:11, Marshall Clow wrote:
At 2:12 PM -0700 7/16/08, Mark Wagner wrote:
On Wed, Jul 16, 2008 at 10:50, Greg Guerin <email@hidden> wrote:
Always remember to make a full backup (including the svn
repository) before
trying something dangerous like this. Nothing ruins your day
quite like an
accidental "delete everything in repository".
This is Subversion. If you accidentally delete everything in the
repository, you can just revert the changes.
Um, no.
If you delete everything in your local copy, you can revert from the
repository.
If you delete everything in the repository, then you've lost all
your history, (as well as all the files)and can only recover them
from a backup.
--
-- Marshall
Marshall Clow Idio Software <mailto:email@hidden>
It is by caffeine alone I set my mind in motion.
It is by the beans of Java that thoughts acquire speed,
the hands acquire shaking, the shaking becomes a warning.
It is by caffeine alone I set my mind in motion.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden