Subversion: ERROR: Unable to determine version.

Hi,

I am trying migration from SVN to STASH(Old version of Bit Bucket Server). When i try to verify using svn-migration-scripts.jar verify command i am getting the following error. Can some one help me to resolve this. I am using tortoise SVN client on my machine.

 

$ java -jar svn-migration-scripts.jar verify
svn-migration-scripts: using version 0.1.56bbc7f
Git: using version 1.9.5.msysgit.0
Subversion: ERROR: Unable to determine version.
git-svn: using version 1.9.5.msysgit.0

3 answers

Hi Venkata,

Can you confirm you are able to obtain the proper information when running "svn --version"?

I found another topic in which the user was getting a result similar to yours - please check it at https://answers.atlassian.com/questions/8630349. For this case, running "export LANG=C" before executing the command helped having it running.

Regards,

Gustavo Refosco

can you tell me how can i run "svn --version" command. When i run normal commad prompt in windows 7 it gives error C:\Users\User1>svn --version 'svn' is not recognized as an internal or external command, operable program or batch file.

Hello Venkata,

You can also use SVN Mirror add-on in order to import your SVN projects into Stash. Here's the quick start guide on one-time import and git-svn mirror.

Regards,

Semyon

Hi Venkata,

It looks then your svn executable isn't set in your PATH. Since you mentioned it is installed on this server, it seems to be just a matter of setting it's executable location in your PATH environment variable. After setting this, please re-open the command prompt and confirm svn --version works.

You may refer to the first response on http://stackoverflow.com/questions/13915832/svn-is-not-recognized-as-an-internal-or-external-command if you are unsure about how setting the PATH.

Regards,

Gustavo Refosco

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

21,857 views 26 11
Join discussion

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