Sourcetree: git svn fetch from SVN repo

Hello,

I am trying to access a SVN repo from within Sourctree, so that I can keep a git branch in sync with the svn repo, like so: http://ironymark.diwan.com/2011/04/a-safe-way-to-keep-a-github-and-svn-repository-in-sync/

From the admin of the SVN repo I received a certificate. I can access the repo from a browser (where I added the certificate) and from Cornerstone, a SVN client.

I added the remote repo in Sourcetree. If try to fetch the remote from Sourcetree, I get the following

git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree fetch myproject 
fatal: unable to access 'https://example.com/svn/projects/myproject/': The requested URL returned error: 403
Completed with errors, see above

I tried a

git svn fetch

from the terminal window, and I got this reply:

Client certificate filename:

Typing in the certificate filename gives no result, the terminal keeps asking for the certificate filename

The certificate is in the keychain, I checked that.

Or should it be placed in a different location?

Git version is 1.9.2 (System) and 1.8.4.2 (embedded)

Tried both versions, makes no difference.

SVN is version 1.7.10

So,

What could this be and how could I solve this?

Thanks

1 answer

OK, found it. When prompted for the certificate filename, you'll need to provide the full path.

From then on it works.

Cheers!

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

22,491 views 26 12
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