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

Move project between repos/servers

From: Andrew Kesterson <andrewk_at_logicalsi.com>
Date: 2006-06-01 05:01:08 CEST

    I have googled and FAQ'ed the heck out of this question for the
better part of 2 days, and can't find the answer.

    I have two servers, server1 and server2, both of which run
subversion. I want to move a project ("Bob") from server1, including its
entire revision history, to server2. I have tried the following methods,
all to no avail:

    - doing an 'svn switch' on a working copy of the project to move -
it doesn't work across repos/servers of course
    - trying to do an 'svnadmin load' of the project on server2 after it
has been filtered out from server1 via 'svnadmin dump | svndumpfilter
include". For some reason this gives me odd errors, specifically:
        svnadmin load /usr/local/subversion < /home/andrew/devbox-onlyBob
       < ... snip of otherwise successful transactions ... >
       <<< Started new transaction, based on original revision 978
     * adding path : trunk/Bob ...svn: File already exists: filesystem
'/usr/local/subversion/db', transaction '5z', path 'trunk/Bob'

    The situation is further complicated by the fact that, as
illustrated above, another user has already tried to do this; he tried
it by checking out a working copy from server1, and doing an 'svn
import' of those files into server2. The files of course came across
just fine, but the revision history is lost. I've tried to remove this
errorneous import by filtering it out from an 'svnadmin dump', but
that's also not working. To wit:

    mv subversion subversion-old
    mkdir subversion
    svnadmin create /usr/local/subversion
    svnadmin load /usr/local/subversion <
    <<< Started new transaction, based on original revision 1
     * adding path : trunk/BobReports ...svn: File not found:
transaction '1', path 'trunk/BobReports'

    ... So I'm plenty confused. Thanks in advance for any answers you
guys can give me. This is driving me batty

Andrew Kesterson                     Software Engineer
andrewk@logicalsi.com           Logical Solutions, Inc
"I don't know whether I am Turing dreaming that I am
a machine, or a machine dreaming that I am Turing!"
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jun 1 05:04:00 2006

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.