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
Same problem when I try "git svn", can't find any solution nowhere.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Brian,
if I use "Embedded Git 2.18.0" I got the same error message.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.