Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

git-svn with error

If I try to commit or update a subversion repository with Sourcetree I get the following error:

git --no-optional-locks -c color.branch=false -c color.diff=false -c color.status=false -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree svn rebase 

String found where operator expected at /Applications/ line 885, near "fatal "trees ($treeish) $y != $x\n""

(Do you need to predeclare fatal?)

syntax error at /Applications/ line 885, near "fatal "trees ($treeish) $y != $x\n""

BEGIN not safe after errors--compilation aborted at /Applications/ line 1670.

Compilation failed in require at /Applications/ line 42.

BEGIN failed--compilation aborted at /Applications/ line 42.

Completed with errors, see above

searched the web, but couldn't find a clue.

SourceTree: Version 3.0.1

Mac OS: Mojave Version 10.14.3

2 answers

Same problem when I try "git svn", can't find any solution nowhere.

0 votes
bgannin Atlassian Team Feb 04, 2019

Hi @Armin Inauen,

It looks like you might be using "System Git" in Sourcetree, which is pointing to Xcode's current implementation. Do you encounter the same error if you use "Embedded Git" instead?


Brian Ganninger
Principal Developer, Sourcetree

Hi Brian,

if I use "Embedded Git 2.18.0" I got the same error message.

Hi Brain,

any news about that "fatal" Error?

Best regards


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

7,090 views 5 13
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you