command
git svn clone -A users.txt --trunk=trunk/kraken-lib/kraken-lib-parent --branches=branches/*/kraken-lib/kraken-lib-parent --tags=tags/*/kraken-lib/kraken-lib-parent http://svn.develop.taobao.net/repos/kraken-lib/ 11
git remote add origin git@gitlab.alibaba-inc.com:mall-mobile/kraken-lib-parent.git
git push -u origin master
git svn clone -A users.txt --trunk=trunk/kraken-lib/kraken-monitor --branches=branches/*/kraken-lib/kraken-monitor --tags=tags/*/kraken-lib/kraken-monitor http://svn.develop.taobao.net/repos/kraken-lib/ 11
git remote add origin git@gitlab.alibaba-inc.com:mall-mobile/kraken-monitor.git
git push -u origin master
git svn clone -A users.txt --trunk=trunk/kraken --branches=branches/*/kraken --tags=tags/*/kraken http://svn.develop.taobao.net/repos/kraken/ 22
git remote add origin git@gitlab.alibaba-inc.com:mall-mobile/kraken.git
git push -u origin master
users.txt
wenyou.ly = 文优<wenyou.ly@taobao.com>
admin.for.perth = admin.for.perth<wenyou.ly@taobao.com>
svncenter = svncenter<wenyou.ly@taobao.com>
查看用户
svn log http://svn.develop.taobao.net/repos/kraken/ --xml | grep -p "^<author" | \sort -u | perl -pe 's/<author>(.*?)<\/author>/$1 = $1 \<$1\@example.com\>/' > users.txt
http://pm.readthedocs.org/zh_CN/latest/vcs/git/subversion2git.html
shell
# 新建文件夹
find default -type d -exec mkdir -p utf/{} \;
# 字符集编码转换
for i in `find tmallcollection -name *.java -type f` ; do iconv -c -f GBK -t UTF-8 $i > utf/$i; done