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 from the original site to tigris.org.
Latest Release
p42svn 0.20 is available.
Requirements
- Perl
- Since p42svn is a Perl script, it needs Perl to run. On Linux and many recent Unix releases, Perl is already installed. You will probably need to install it on Windows.
- P4
- P4 is a Perl module providing an interface to Perforce. It is usually not distributed with Perl and needs to be installed separately. Download and follow the instructions on the
P4 home page.
- Perforce C/C++ API
- In order to build P4, you will need the Perforce C/C++ API.
Documentation
The HTML documentation for the current stable version has been directly created from the POD documentation embedded in the script using pod2html.
Source Code
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.