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

RE: Parmently removing directory from server to make space

From: Anil Bakshi <Anil.Bakshi_at_aptaracorp.com>
Date: Thu, 4 Apr 2013 11:27:17 +0530

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_at_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_at_gmx.de]
Sent: Tuesday, March 26, 2013 9:31 PM
To: Daniel Shahaf; users_at_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
Received on 2013-04-04 07:57:59 CEST

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.