OSのアップグレードに消極的なので、2019年9月時点でしぶしぶSierraからMojaveにアップグレードしたのですが、それによってSourcetreeでSVNと連携しているgit-svnのプッシュができなくなりました。
結論としてはOSに対応した Command Line Tools をインストールして解決しました。 自分が行った手段をまとめます。(当然のことなのかもしれませんが、自分は)
まず以下がSourcetreeエラーの内容です。
git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree svn rebase
Can't locate SVN/Core.pm in @INC (you may need to install the SVN::Core module) (@INC contains: /usr/local/Cellar/git/2.21.0/share/perl5 /Applications/Xcode.app/Contents/Developer/Library/Perl/5.18/darwin-thread-multi-2level /Library/Developer/CommandLineTools/Library/Perl/5.18/darwin-thread-multi-2level /Applications/Sourcetree.app/Contents/Resources/git_local/lib/perl5/site_perl /Library/Perl/5.18/darwin-thread-multi-2level /Library/Perl/5.18 /Network/Library/Perl/5.18/darwin-thread-multi-2level /Network/Library/Perl/5.18 /Library/Perl/Updates/5.18.4 /System/Library/Perl/5.18/darwin-thread-multi-2level /System/Library/Perl/5.18 /System/Library/Perl/Extras/5.18/darwin-thread-multi-2level /System/Library/Perl/Extras/5.18 .) at /usr/local/Cellar/git/2.21.0/share/perl5/Git/SVN/Utils.pm line 6.
BEGIN failed--compilation aborted at /usr/local/Cellar/git/2.21.0/share/perl5/Git/SVN/Utils.pm line 6.
Compilation failed in require at /usr/local/Cellar/git/2.21.0/share/perl5/Git/SVN.pm line 25.
BEGIN failed--compilation aborted at /usr/local/Cellar/git/2.21.0/share/perl5/Git/SVN.pm line 32.
Compilation failed in require at /usr/local/Cellar/git/2.21.0/libexec/git-core/git-svn line 22.
BEGIN failed--compilation aborted at /usr/local/Cellar/git/2.21.0/libexec/git-core/git-svn line 22.
Completed with errors, see above
エラーの内容を詳しくは理解できませんでしたが、gitとかsvnが見つからないみたいなことを言われてるのかなと思い、gitとsvnのバージョンを確認するとsvnが見つからない的なエラーがでる(エラーの内容は保存していません)のでその辺りをヒントにググると、OSをアップグレードしたから Command Line Tools をインストールしなければいけないのではないかと気づきました。
インストールされているかの確認
$ gcc
されてないのでインストール
$ xcode-select --install
終わったらバージョンを確認
$gcc --version
一応再起動してもう一度sourcetreeのプッシュを試みると今度はうまくいきました。