You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Anil Bakshi <An...@aptaracorp.com> on 2013/04/04 07:57:17 UTC

RE: Parmently removing directory from server to make space

Hi Olli,

Thnaks for your support.

I ran into one small issue.

I need to know the folder structure of my dump file. Is their any
command to know that.

For example, my root directory is /E_Learning/Development/

I need to know the folder structure inside Development folder.

I cannot check it through tortoiseSVN because I have deleted few folders
from their and I need to know those deleted folders name.

Regards,
Anil Kumar Bakshi
Sr. Multimedia Programmer | Education and Learning

 

Aptara, Inc. | Transforming Content into Knowledge

anil.bakshi@aptaracorp.com | aptaracorp.com

A-28, Mohan Cooperative Industrial Estate, 

Mathura Road | New Delhi - 110044 | India

Mobile +91 9818907948

 

-----Original Message-----
From: olli hauer [mailto:ohauer@gmx.de] 
Sent: Tuesday, March 26, 2013 9:31 PM
To: Daniel Shahaf; users@subversion.apache.org
Cc: Anil Bakshi; Stefan Sperling; Grierson, David
Subject: Re: Parmently removing directory from server to make space

On 2013-03-26 12:25, Daniel Shahaf wrote:
> Anil Bakshi wrote on Tue, Mar 26, 2013 at 16:37:25 +0530:
>> So I will go with your suggestion: svndumpfilter exclude
>> /E_Learning/Development/Project1  < repo.dump > filteredDump.dump
>>
>> Please correct me. 
> 
> You might try this command:
> 
> % grep -a '^Node-path:' < repo.dump | head
> 
> to see what paths inside the dump file look like.
> 
> .oO ( maybe we should have an 'svndumpfilter info' command?  I suppose

> it could basically cat the dumpfile, except: file reps would be 
> omitted; dir reps would be omitted (unless we figure out something 
> sensible to dowith them, eg "5 children"); properties would be omitted

> (but in the future we could list propnames or propnames and 
> propvalues). )
> 


Here the script normalize-dump.py (in the svn tar file) comes is really
handy. From my own experience with big dumps it is ways faster to
process the dump with this script and then grep for
Node-path/Node-copyfrom-path.


Additional hint for Windows users:
 run svndumpfilter this way: python -u $path/svndumpfilter.py

Re: Parmently removing directory from server to make space

Posted by Thorsten Schöning <ts...@am-soft.de>.
Guten Tag Anil Bakshi,
am Donnerstag, 4. April 2013 um 07:57 schrieben Sie:

> For example, my root directory is /E_Learning/Development/

> I need to know the folder structure inside Development folder.

> I cannot check it through tortoiseSVN because I have deleted few folders
> from their and I need to know those deleted folders name.

What do you mean by "deleted", using Subversion or svndumpfilter on
a dump/reload cycle?In the first case just look in the history for the
commits where the folders have been deleted, in the latter case there
is no possibility anymore because the repo didn't ever contain the
folders. But that's what one wanted by using svndumpfilter. ;-)

Mit freundlichen Grüßen,

Thorsten Schöning

-- 
Thorsten Schöning       E-Mail:Thorsten.Schoening@AM-SoFT.de
AM-SoFT IT-Systeme      http://www.AM-SoFT.de/

Telefon...........05151-  9468- 55
Fax...............05151-  9468- 88
Mobil..............0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow