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/Xcode.app/Contents/Developer/usr/share/git-core/perl/Git/SVN.pm line 885, near "fatal "trees ($treeish) $y != $x\n""

(Do you need to predeclare fatal?)

syntax error at /Applications/Xcode.app/Contents/Developer/usr/share/git-core/perl/Git/SVN.pm line 885, near "fatal "trees ($treeish) $y != $x\n""

BEGIN not safe after errors--compilation aborted at /Applications/Xcode.app/Contents/Developer/usr/share/git-core/perl/Git/SVN.pm line 1670.

Compilation failed in require at /Applications/Xcode.app/Contents/Developer/usr/libexec/git-core/git-svn line 42.

BEGIN failed--compilation aborted at /Applications/Xcode.app/Contents/Developer/usr/libexec/git-core/git-svn 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

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?

Thanks,

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

Armin

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

Suggest an answer

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

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

4,895 views 0 12
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