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

Re: Removing old stuff

From: Enrico Weigelt <weigelt_at_metux.de>
Date: Fri, 13 Jun 2008 19:56:33 +0200

* Andy Levy <andy.levy_at_gmail.com> wrote:

Hi,

(CC'ing this to -dev list)

> http://subversion.tigris.org/faq.html#removal

Yep, I'm aware of that. As this issue is now open for about
7 years, I'd like to start with small steps instead of the
whole obliteral spec draft.

Let's just take a special case: just remove the top change
of a single file. And let's further assume that this file
already has been deleted in the last K revisions, so users
won't have it still in their working copy, nobody will do
an checkout of that file in the middle of our work.
(delegating this to administration ;-P).

Then we just have to remove the last change directly under
the deletion point iteratively, until we reach some point
of fork (copy) or initial upload. Then:

a) we've got an fork -> exactly that change which made the
   fork (the pointer which tells, "this file was copied
   from [...] at [...]) and the deleting change.
   
b) we've got an initial upload -> remove that upload change
   and the deleting one.
   
At this point, we cleanly would have removed the patchline
for a specific file. Everything else (including revision
numbering) would remain untouched.

More complex things like removing a whole subtree later can
build on that.

cu

-- 
---------------------------------------------------------------------
 Enrico Weigelt    ==   metux IT service - http://www.metux.de/
---------------------------------------------------------------------
 Please visit the OpenSource QM Taskforce:
 	http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
	http://patches.metux.de/
---------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-06-13 19:58:48 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.