The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Sourcetree: git svn fetch from SVN repo

13m2
June 25, 2014

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
13m2
June 26, 2014

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

From then on it works.

Cheers!

TAGS
AUG Leaders

Atlassian Community Events