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

Re: Deleting the latest 2 revisions

From: Max Bowsher <maxb_at_ukf.net>
Date: 2004-11-22 18:45:50 CET

Claude Montpetit [Nertec] wrote:
> I'd like to resurrect all the top folders of our repository. They were
> mistakenly deleted by a user.
>
> The deletion was done in 2 commits. They are the last commits in the
> repository.
>
> I know about reverse merge and copy to restore deleted files or
> directories, but I wonder if there is another way. I am afraid that
> undoing the delete using these will cause the repository size to triple,
> if not more (there were many branches).
>
> So I have 2.5 questions:
>
> 1- I know that Subversion only stores deltas but how does it deal with
> deletion like this? Will it increase my repository size considerably?

An add-unchanged-with-history should refer to the previous copy of the file
contents in the repository - trivial size difference only due to metadata.

> 2- Also, if someone had a branch checked out with local changes, will
> the the link back to the restored folder be problematic?

Without testing, hard to say, so I'm going to have to answer "possibly".

If you want to permanently expunge these rogue revisions, you would have to:

* Dump the repository, using dump -r1:<the last good revision> and load it
into a new empty repository.
* Tell anyone who had a working copy updated to the removed revisions to
erase and re-checkout their WC.

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Nov 22 18:49:17 2004

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.