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

Re: Can I load a cvs2svn dump file into SVN repo via TortoiseSVN?

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Wed, 28 Jan 2015 20:35:23 +0100

On 28.01.2015 19:44, John Fierke wrote:
> I am migrating a CVS project on a unix server to our company's
> centrally controlled apache subversion server. It is critical that I
> preserve all version history.
>
> I have successfully tested creating the cvs2svn dump file and loading
> it to a local SVN repo using "svnadmin load". The administrator has
> created a repository for me and says he's granted me full access to
> it. I'm not sure how, if at all, I can load the dumpfile remotely
> even through the TortoiseSVN interface. Do I need him to actually
> run svnadmin load himself at a command line?

Running svnadmin load is the fastest way. But if you can not do that,
there's another (much slower) way: svnsync
http://svnbook.red-bean.com/en/1.8/svn.ref.svnsync.html

But for svnsync to work, the remote repository must be completely empty
and have the pre-revprop-change hook activated to allow changes to revprops:
http://svnbook.red-bean.com/en/1.8/svn.ref.reposhooks.pre-revprop-change.html

if that's done, you can 'upload' your dump file to the remote
repository. But first you have to create a local repository and import
the dump there. Then:

$ svnsync init --username YOURUSERNAME https://remote.com/svn
file:///path/to/localrepos
$ svnsync sync --username YOURUSERNAME https://remote.com/svn

wait...

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest interface to (Sub)version control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3095060
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2015-01-28 20:35:28 CET

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.