Login | Register
My pages Projects Community openCollabNet

Project home

2020-03-13: This site is going to be decommissioned and shut down very soon. Please copy and archive any data you wish to keep ASAP

If you were registered and logged in, you could join this project.

Summary Perforce to Subversion migration
Category scm
License GNU General Public License
Owner(s) dpo, trentf

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.

Latest Release

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 release notes.
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.

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.