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 Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

641 views 0 4
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot