$ svn log --xml | grep author | sort -u | perl -pe 's/.>(.?)<./$1 = /'
手动设置对应关系 users.txt
suqian.yf = 苏千 <[email protected]>
...
zhangxing_z.pt = 章星 <[email protected]>
zhenghaibo.pt = 郑海波 <[email protected]>
$ git svn clone http://svnurl.com/weibo/trunk --authors-file=users.txt --no-metadata weibo
$ git remote add origin [email protected]:weibo.git
$ git push origin --all