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

RE: Filtering and moving a repo

From: Bert Huijben <bert_at_vmoo.com>
Date: Sun, 7 Sep 2008 22:33:39 +0200

> -----Original Message-----
> From: Robert Bielik [mailto:robert.bielik_at_xponaut.se]
> Sent: zondag 7 september 2008 10:26
> To: users_at_subversion.tigris.org
> Subject: Filtering and moving a repo
>
> Hi all,
>
> We're using SVN via Apache and I want to filter out a file from a repo
> A. So I figured I'd do:
> 1. dump the repo with svnadmin dump /var/svn/repos/A
> 2. filter dump file with svndumpfilter exclude Path/to/file/to/remove -
> -drop-empty-revs --renumber-revs
> 3. load the filtered dump file into an empty repo B
> 4. mv /var/svn/repos/A /var/svn/repos/_A
> 5. mv /var/svn/repos/B /var/svn/repos/A
>
> Since repo B was empty it should get the UUID of repo A (from the dump
> file), so this operation should be
> transparent to svn clients ??

After you dump-filter-load your repository you changed history for the
clients. In this case the uuid should change and all users must re-checkout
to create working copies from the new repository.

The previous versions for the working copy were changed and the
change-deltas communicated between the repository and the working copy would
be invalid.

See http://subversion.tigris.org/faq.html#removal and
http://subversion.tigris.org/issues/show_bug.cgi?id=516
for more details.

        Bert
 
> I wanted to ask before I possibly f-ck it up for clients that have repo
> A on their machines.
>
> TIA
> /R
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: users-help_at_subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-09-07 23:13:06 CEST

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.