We have a fairly large SVN repository which we are looking to migrate to perforce. We very much want to keep the ~20k revisions, the branches, etc, but in some initial tests the svn2p4 script that perforce provides wasn’t able to replicate the full structure.
Have people had success with this tool, or were there others that my google searching didn’t turn up? Best practices and tips are welcome.
Vitalii Pokrovskii and Mark Fridrich created svn2p4, a perl script that will ‘sync and replay’ to import every change set into perforce.
You can find it on the perforce wiki. They also gave a presentation about it at the 2007 Perforce User’s Conference.
update 2012: Another solution is to use p4convert-svn. Details here: p4convert-svn at perforce site