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

675 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