Home > Uncategorized > perforcemigration-notes



But, actually:

% wget ftp://ftp.perforce.com/perforce/r09.1/bin.tools/p4perl.tgz (extract to /path/to/tmp/p4perl)

extract to location /path/to/tmp/


wget ftp://ftp.perforce.com/perforce/r09.1/bin.darwin80u/p4api.tgz (extract to /path/to/tmp/p4api)

wget ftp://ftp.perforce.com/perforce/r09.1/bin.darwin80u/p4

extract to location

p4 todd$ ls
p4 p42svn.pl p4api p4api.tgz p4perl p4perl.tgz

cd p4perl

perl Makefile.PL –apidir ../p4api (from p4api.tgz)

make tests
sudo make install


% perl -MP4 -e “print P4::Identify()”

Perforce – The Fast Software Configuration Management System.
Copyright 1995-2009 Perforce Software. All rights reserved.
Rev. P4PERL/DARWIN9X86/2009.1.GA/205670 (2009.1 API) (2009/06/29).

Right now I am ready to do the migration: (I used version 91)

wget http://p42svn.tigris.org/source/browse/*checkout*/p42svn/trunk/p42svn.pl?revision=91

% perl p42svn.pl usage

If you get errors then you have installation problems with perl and spent time sorting it out. (I had major problems that took me a couple of hours to sort out including updating, upgrading, installing, arrrggghhh)

perl p42svn.pl –user yours –password secret –port xx.xx.xx.xx:1666 –branch “//depot/project”=trunk > svn.dump

Now, move that file to the windows box

Backon the windows box:

svnadmin create c:\Repositories\project
svnadmin load c:\Repositories\project < svn.dump

Categories: Uncategorized Tags:
  1. No comments yet.
  1. No trackbacks yet.