git svn clone --stdlayout --no-metadata -A users.txt svn://example.com/repository/projectname
cd projectname
The command below is supposed to generate users.txt, but it doesn’t work for me.. maybe because perl is missing.. svn log ^/ --xml | grep -P "^<author" | sort -u | \ perl -pe 's/<author>(.*?)<\/author>/$1 = /' > users.txt
restore OPTION (I guess it restores to the timestamp specified below.. haven’t tried it..) BACKUP=timestamp_of_backup (required if more than one backup exists)