see:http://johnwong.github.io/mobile/2015/04/30/using-git-with-svn.html
用Git的方式使用SVN
if not work
try
Git svn not work
Or try this
svn checkout --username roy.leung --password ro436NG svn://svn.gravitas.com.hk/opt/svnrepos/Android/YOHOMall
Can’t locate SVN/Core.pm in @INC (you may need to install the SVN::Core module)
sudo ln -s /Applications/Xcode.app/Contents/Developer/Library/Perl/5.18/darwin-thread-multi-2level/SVN /System/Library/Perl/Extras/5.18/SVN
sudo ln -s /Applications/Xcode.app/Contents/Developer/Library/Perl/5.18/darwin-thread-multi-2level/auto/SVN/ /System/Library/Perl/Extras/5.18/auto/SVN
pull.sh
和push.sh
,例如:#!/bin/sh
cd "$REPO"
git stash
git svn fetch
git svn rebase
git stash apply
#!/bin/sh
cd "$REPO"
git stash
git svn dcommit
git stash apply
Preferences->Custom Actions
,新建pull与push,选择这两个脚本。以后打开项目后,就可以在Actions->Custom Actions
下找到你添加的这两个Action。