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

Re: question import checkout project previously from another Subversion server

From: Ben Johnson <ben_at_indietorrent.org>
Date: Thu, 28 Jun 2012 14:04:49 -0400

On 6/28/2012 1:22 PM, Carl Greenboro wrote:
> Hi,
>
> I have a copy of a working copy of a project previously checked out from an old Subversion server instance. Now I have a new Subversion server instance on a new server.
>
> Do I rip out all the .svn folders (svn admin files) from the working copy and then do an import?
>
> OR
>
> Is there another proper way of doing this migration from TortoiseSvn?
>
> What are the steps, please?
>
> Thank you for any pointers and information.
>
> ------------------------------------------------------
> http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2973755
>
> To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
>

The answer really depends on whether or not you are concerned with
keeping the history of changes to the repository.

If you don't care about the history of changes, then yes, you can simply
right-click on the working copy and choose "TortoiseSVN -> Export". This
will dump the working copy contents, without all of the .svn directories
(so you don't have to delete them manually or with the command-line).

You can then create your new repository, copy the exported files into
the empty working copy, and then perform an initial commit.

If, on the other hand, you are concerned with retaining the history: Do
you still have access to the old Subversion server instance, or to a
copy of the actual repository contents? If so, you can either copy the
repository to the new server, or use "svnadmin dump":

http://svnbook.red-bean.com/en/1.7/svn.ref.svnadmin.c.dump.html

And then "svnadmin load":

http://svnbook.red-bean.com/en/1.7/svn.ref.svnadmin.c.load.html

Hope that helps!

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2973760

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-06-28 20:05:14 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.