You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Enrico Weigelt <we...@metux.de> on 2008/06/13 17:56:33 UTC

Re: Removing old stuff

* Andy Levy <an...@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@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org