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 vote
Accepted answer
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 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 ...

421 views 5 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