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: "Mark Wagner" <email@hidden>
- Date: Thu, 17 Jul 2008 11:44:56 -0700
On Wed, Jul 16, 2008 at 15:16, Simon Wilson <email@hidden> wrote:
>
>> 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.
I've never had to do this, but assuming the repository is intact, then
according to http://svnbook.red-bean.com/nightly/en/svn.branchmerge.basicmerging.html#svn.branchmerge.basicmerging.undo,
you can simply use "svn merge" to undo the most recent changes.
If it's possible for a malfunctioning copy of Xcode to damage the
on-disk representation of the Subversion repository, then yes, you'll
need to restore from backup. But you shouldn't be in a situation
where that's possible to begin with.
--
Mark Wagner
_______________________________________________
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