[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: Tue, 26 Mar 2013 16:37:25 +0530

Thanks Stafen,

You are really helping.

I think you are taking about this:

<Location /svn>
DAV svn
SVNParentPath C:\SVNData\svn
AuthType Basic
AuthName "Subversion repositories"
AuthUserFile C:\SVNData\svn.pass
AuthzSVNAccessFile C:\SVNData\authz.conf
Require valid-user
</Location>

So I will go with your suggestion: svndumpfilter exclude
/E_Learning/Development/Project1 < repo.dump > filteredDump.dump

Please correct me.

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: Stefan Sperling [mailto:stsp_at_elego.de]
Sent: Tuesday, March 26, 2013 4:29 PM
To: Anil Bakshi
Cc: Grierson, David; users_at_subversion.apache.org
Subject: Re: Parmently removing directory from server to make space

On Tue, Mar 26, 2013 at 04:14:38PM +0530, Anil Bakshi wrote:
> Thanks Stefan, I will try with forward slashes. One more thing.
>
> In httpd.conf file. I have set the below variable.
>
> SVNParentPath C:\SVNData\svn
>
> So repo browser path is:
> http://delhicvs.ind.aptaracorp.com:8080/svn/database/E_Learning/Develo
> pm
> ent/Project1
>
> Do I using the correct path in below example.
>
> svndumpfilter exclude /database/E_Learning/Development/Project1 <
> repo.dump > filteredDump.dump

I cannot tell exactly because you haven't provided the <Location>
tatements of your httpd config that contains the SVNParentPath
directive.

Assuming you are using <Location /svn>, it seems the name of your
repository is 'database'.

Dump files contain only paths which are *inside* the repository, i.e.
paths shown by a command such as:
  svn ls http://delhicvs.ind.aptaracorp.com:8080/svn/database

It seems E_Learning is a directory in the root directory of the
repository, so filtering the dump file should probably look like this:

svndumpfilter exclude /E_Learning/Development/Project1 < repo.dump >
filteredDump.dump

However, if you were using <Location /svn/database> or <Location
/svn/database/E_Learning> the paths inside the dump file would be
different.

If you don't really understand how this all works, I suggest that you
create a small repository to test with and try out some commands until
you understand their behaviour, and then tackle the time intensive task
of filtering large dump files.

This section of the book might also be useful:
http://svnbook.red-bean.com/en/1.7/svn.reposadmin.maint.html#svn.reposad
min.maint.filtering
Received on 2013-03-26 12:07:58 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.