AW: a simple recipe to 'obliterate' an item from svn repository
From: Markus Schaber <m.schaber_at_3s-software.com>
Date: Mon, 19 Mar 2012 15:21:05 +0000
Hi, Giorgio,
Maybe "svndumpfilter" can help:
Best regards
Markus Schaber
-- ___________________________ We software Automation. 3S-Smart Software Solutions GmbH Markus Schaber | Developer Memminger Str. 151 | 87439 Kempten | Germany | Tel. +49-831-54031-0 | Fax +49-831-54031-50 Email: m.schaber@3s-software.com | Web: http://www.3s-software.com CoDeSys internet forum: http://forum.3s-software.com Download CoDeSys sample projects: http://www.3s-software.com/index.shtml?sample_projects Managing Directors: Dipl.Inf. Dieter Hess, Dipl.Inf. Manfred Werner | Trade register: Kempten HRB 6186 | Tax ID No.: DE 167014915 -----Ursprüngliche Nachricht----- Von: Giorgio F. Signorini [mailto:giorgio.signorini_at_unifi.it] Gesendet: Freitag, 16. März 2012 19:33 An: users_at_subversion.apache.org Betreff: a simple recipe to 'obliterate' an item from svn repository Hello I need to delete a file permanently from my repository, since it was added by mistake and is very big. I understand this is not a very easy thing to do, and is related to the project of an 'svn obliterate' command. I seem to have found a simple workaround for my problem, and I would very much like to share it for comments. Suppose the current revision is 200 and the big file was added in rev 100. I can use the dump / load scheme of svnadmin, taking care in skipping revision 100 during the process: svnadmin dump -r1:99 oldrepos > rev.1-99 svnadmin dump -r101:200 --incremental oldrepos > rev.101-200 svnadmin create newrepos svnadmin load newrepos < rev.1-99 svnadmin load newrepos < rev.101-200 I only wonder if the "--incremental" option will work even when merging non-contiguous revisions. Please note that in revision 100 only the big unwanted file was added. Thank you for your help -- GFS ------------------------------------------------------------------------ Dr. Giorgio F. SIGNORINI, PhD Dipartimento di Chimica tel: +39-055-457-3085 Universita` di Firenze via della Lastruccia, 3 email: giorgio.signorini "at" unifi.it I-50019 Sesto F. (Firenze) Italy http://www.chim.unifi.it/~signo My PGP key: http://srv.chim.unifi.it/~signo/signo.asc ------------------------------------------------------------------------Received on 2012-03-19 16:21:42 CET |
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.