Migrate from Windows SVN to Bitbucket Cloud

We are looking to move to GIT from SVN.  Currently we are using VisualSVN on a local Windows server and want to move to Bitbucket Cloud.  I have checked the Atlassian migration guide here: https://www.atlassian.com/git/tutorials/migrating-prepare but this appears to be aimed at a linux based server/PC.  Not being a Linux or Java person I got stuck VERY early on in the Prepare stage of the guide.

Can anyone point me at a guide that is Windows based to move from a Windows based SVN environment to Atlassian Bitbucket Cloud?

3 answers

On reading through those instructions, the only thing that is OS dependent is the path to the .jar file.

Anywhere a command says "~/svn-migration-scripts.jar", you should have something like "Downloads\svn-migration-scripts.jar" or whatever the path to your file is. Note that Windows uses a different slash to separate directories than *nix.

On *nix systems, the "~" is an alias for the current user's home directory. It should not be used in Windows, and isn't necessary on Linux/OSX, so don't get hung up on that either.

I am getting an "Unable to determine version" error still even after running the SET LANG=C command

 

D:\ProjectLocation>set LANG=C

D:\ProjectLocation>C:\JavaLocation\java -jar D:\GitScript\svn-migration-scripts.jar verify

svn-migration-scripts: using version 0.1.56bbc7f

Git: ERROR: Unable to determine version.

Subversion: ERROR: Unable to determine version.

 

This is being run from a development workstation.

The SVN repository is located on a separate server on the LAN.

I have the latest version of Java installed (Version 8 Update 91).

 

Any advice?

Do you have git and svn command line client's installed? I assume they're required by the script, even though the tutorial didn't say anything about it.

Thanks Seth that got it.  I had SVN installed but not the command line tools/

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

433 views 6 9
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you