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

RE: Purging older versions.

From: Bicking, David (HHoldings, IT) <David.Bicking_at_thehartford.com>
Date: 2007-09-13 15:04:56 CEST

> -----Original Message-----
> From: Rainer Sokoll [mailto:R.Sokoll@intershop.de]
>
> On Thu, Sep 13, 2007 at 11:14:26PM +1200, timuckun wrote:
> > I know it's an unusual request but I would like to
> permanently purge
> > some of the oldest versions of some files.
> >
> > Is there any way to do this?
>
> svnadmin dump
> svndumpfilter
> svnadmin load
>
> Rainer

Actually, the dump would specify the start revision:
svnadmin dump svn://myrepos -r startrev:headrev > mydumpfile

Svndumpfilter is used to filter for particular paths, not revisions.
When you dump starting at a revision, that first version is a complete
copy of the file at that revision, then the deltas begin.

If you want to only archive a particular path up to a certain revision,
I don't know how to do that. Keep in mind that svndumpfilter only works
if you didn't copy anything into the filtered paths from somewhere else.
Someone else posted some information earlier about another tool that
handles this case. Here's a good summary of it:

http://www.dehora.net/journal/2007/04/patched_svndumpfilter2.html

I guess this enables me to modify my earlier statement. If you dump,
then filter for this particular path, load it into a new repository,
then dump with a start revision, you can get the effect you need. I
feel the cost is too high for the benefit, though, and you can't put it
back in the origional repository.

--
David
*************************************************************************
This communication, including attachments, is
for the exclusive use of addressee and may contain proprietary,
confidential and/or privileged information.  If you are not the intended
recipient, any use, copying, disclosure, dissemination or distribution is
strictly prohibited.  If you are not the intended recipient, please notify
the sender immediately by return e-mail, delete this communication and
destroy all copies.
*************************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Sep 13 15:01:45 2007

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.