[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: Stefan Sperling <stsp_at_elego.de>
Date: Tue, 26 Mar 2013 11:58:54 +0100

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/Developm
> 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.reposadmin.maint.filtering
Received on 2013-03-26 11:59:36 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.