On Nov 3, 2007, at 18:13, Eric wrote:
> I know this has been discussed in the past but I can't find it, so
> please excuse the rerun...
>
> Server: Fedora 7, Subversion 1.4.3
>
> Client: Windows XP Pro SP2, TortoiseSVN version 1.4.0 Build 7501
>
> Connection: svn+ssh
>
> (yes, I know it's old and there are newer versions out, but it all
> works flawlessly and I'd rather not fix what ain't broke...)
>
> One of my repositories has a LARGE (8+ GB) subdirectory in it that
> I'd like to move out into its own repository while maintaining the
> history.
>
> Can someone please point me to the approved way of doing that?
>
> Either from the client via Tortoise or logged into the server using
> Subversion's own command line user interface would be fine with me...
Neither the svn command line client nor TortoiseSVN nor any other
client can perform this function. You need to use the svnadmin
command, which can only be run with direct filesystem access to the
repository. You will need to svnadmin dump the repository to a file,
then svndumpfilter that file to include only that large subdirectory,
then svnadmin load that filtered file into a new repository. Then, do
the same thing, except svndumpfilter to exclude that one directory,
then svnadmin load it into another new repository. Those two new
repositories will replace your old repository, which you can archive
and eventually delete. Anyone with existing working copies of your
old repository will need to check out new working copies.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Nov 4 01:51:53 2007