subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Sperling <s...@elego.de>
Subject Re: Parmently removing directory from server to make space
Date Tue, 26 Mar 2013 10:58:54 GMT
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

Mime
View raw message