tags:

views:

42

answers:

2

Okay, so I developed this program and used SVN for revisions, on a local repository.

Is it even possible to transfer this information to a forge, which is also svn based?

I've been told I need to use git-svn, in which case I would love to have some guidance on how to use it, under Windows, preferrably.

Thanks in advance, --Gabriel

+2  A: 

For transferring your repository once, or to do it in one direction only, you're looking for svnsync, which should come as part of your Subversion install.

EDIT:

orip
Is that also valid if my forge is currently completely empty?
kelmer
Also, do you know if it's possible to do that with tortoise-svn?
kelmer
@kelmer - updated the answer
orip
Okay, now I found myself another problem: turns out I already uploaded the head revision on my comp. by deleting .svn files and checking out, so I can't svnsync now, I get an error about "'sync-lock':could not remove a property".Would removing every file and then retrying work?
kelmer
I seem to have a problem iwth "pre-revprop-change" on svnsync init. My god this is tougher than I thought.
kelmer
A: 

If your new svn host supports svnadmin load that is the most straight forward and compatible way to move a repository.

  1. Export your current repository to a file with svnadmin dump.
  2. Copy the file to your new host.
  3. Load the file into an empty repository with svnadmin load.
Albin Sunnanbo
I don't think I can execute this command on my new host as it is a public forge
kelmer
@kelmer, sites like sourceforge.net gives you shell access to enable this: https://sourceforge.net/apps/trac/sourceforge/wiki/SVN%20adminrepo other sites may wrap "svnadmin load" in a web interface where you upload your svndump-file.
Albin Sunnanbo
I'm afraid this is not the case. http://forxa.mancomun.org does not allow that, as far as I know.
kelmer