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

Re: Delete a File Throughout Revisions

From: Michael Wood <mwood_at_its.uct.ac.za>
Date: 2003-10-16 15:13:11 CEST

On Thu, Oct 16, 2003 at 12:15:25PM +0200, Jan Hendrik wrote:
> Concerning Re: Delete a File Throughout Revisi
> Ben Collins-Sussman wrote on 10 Oct 2003, 16:21, at least in part:
>
> > $ svndumpfilter help exclude
> > exclude: usage: svndumpfilter exclude PATH_PREFIX...
> >
> > Filter out nodes with given prefixes from dumpstream.
> >
> > ... you're not giving a prefix. All of the paths in the
> > dump-file-stream are absolute. So you need to filter out the
> > *absolute* path to your file.
>
> So it would not be possible to remove all *.JPG files with this
> command? Or all folders named images with something like
> trunk/project/*/images/*.JPG? I would have to do this folder by
> folder with the respective absolute path, wouldn't I?

Yes, but you could use grep to find them all and then use a script to
strip all of them out of the file. It's not the most efficient process
in the world, but it's not like you'll have to type them all in manually
either...

-- 
Michael Wood <mwood@its.uct.ac.za>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Oct 16 15:14:04 2003

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.