git-svn support

The new SourceTree 1.4.0.0 includes the git-svn support feature. But I haven't been able to clone an SVN repository into a git local repo. Is there a tutorial to do this?

For Example, help me create a local git for this repo: http://progit-example.googlecode.com/svn/

10 answers

1 accepted

1 votes
Jeff Thomas Atlassian Team Feb 03, 2014

I just updated to v1.4.1.0 and was able to successfully clone a SVN repository (http://progit-example.googlecode.com/svn/)

Yes, the new version updated on Jan 29

0 votes
Timothy Chin Community Champion Jan 30, 2014

SourceTree?

0 votes
Jeff Thomas Atlassian Team Jan 30, 2014

Are you geting a specific error when trying to clone a SVN repository?

Here is part of the documentation from the OS X version of SourceTree:

Cloning Subversion To Git

When you clone a Subversion URL, you have a choice - you can either clone a single branch of the repository (or the trunk), represented in Subversion by unique URLs, or you can clone from the root of the repository, and if the repository is in the standard Subversion layout (branches, trunk and tags folders in the root), then the conversion will pick up the branches and tags and convert them appropriately.

I get this error: "fatal: repository 'http://progit-example.googlecode.com/svn/' not found"

trying to fetch from an svn repo as a remote of a local git repo.

0 votes
Jeff Thomas Atlassian Team Jan 30, 2014

Interesting, it looks like that repository works in OS X, but not in the Windows version.

You'll probably want to open up an issue at https://jira.atlassian.com

Edit: My image didn't get attached to the comment - http://i.imgur.com/XueEjtl.png

Thank you, I'll do that and update this post when I get an answer.

0 votes
Jeff Thomas Atlassian Team Jan 30, 2014

Looks like you're not the only one having this issue - https://jira.atlassian.com/browse/SRCTREEWIN-1431

I'm picking up on this issue. I'm trying to clone a svn repository hosted at Unfuddle.comand get the following message (using SourceTree on Windows 8.1): This is not a valid source path/url.

There was a bug in the version with first release of git-svn support, see comments here http://blog.sourcetreeapp.com/2014/01/29/sourcetree-for-windows-1-4-released/

There is also related bug report on JIRA.

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...

662 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