p42svn is a Perl script to migrate revision history from a Perforce depot to a Subversion repository.
Ray Miller, the original author of p42svn does not have time to maintain the project anymore. It has therefore been moved to tigris.org.
p42svn 0.40 is available.
- Since p42svn is a Perl script, it needs Perl to run. On Linux and many recent Unix releases, Perl is already installed.
- Perforce Perl API
- The Perforce Perl API (P4Perl) is usually not distributed with Perl and needs to be installed separately. Download and follow the instructions in the
- Perforce C/C++ API
- In order to build the Perforce Perl API, you will also need the Perforce C/C++ API (P4API).
The HTML documentation for the current stable version has been directly created from the POD documentation embedded in the script using pod2html.
To check out the current source code using svn, use the following command. Enter an empty password for user guest (just hit return when prompted):
svn checkout http://p42svn.tigris.org/svn/p42svn/trunk p42svn --username guest
You can also browse the repository at http://p42svn.tigris.org/source/browse/p42svn/, which is always available from the "Subversion" link in the menu.