[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: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2003-10-10 23:21:46 CEST

Paul Gross <paul@grosss.net> writes:

> So if I want to remove a file called temp.txt from a dump file called
> svn_dump, what's wrong with this command?
>
> cat svn_dump | svndumpfilter exclude temp.txt > svn_dump_new

$ 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.

Take a read of the dumpfile.... get a feel for it.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Oct 10 23:24:14 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.