Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

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

Bug Fix: Sourcetree for Windows authentication error when updating to app password

Hello Sourcetree users!!! With the recent removal of Bitbucket Cloud account passwords for app passwords (please see our Bitbucket Cloud community post for details on why we made this change for se...

78,633 views 134 29
Read article

Atlassian Community Events