6 messages in com.perforce.revml[revml] Conversion of Perl Perforce r...
FromSent OnAttachments
John Peacock19 May 2004 09:26 
Barrie Slaymaker20 May 2004 19:31 
John Peacock21 May 2004 04:26 
Chia-liang Kao30 May 2004 16:13 
Barrie Slaymaker31 May 2004 07:53 
John Peacock08 Jun 2004 12:13 
Subject:[revml] Conversion of Perl Perforce repository to Subversion - Part 1
From:John Peacock (jpea@rowman.com)
Date:05/19/2004 09:26:08 AM
List:com.perforce.revml

I have [stupidly] agreed to test the feasibility of converting the main Perl repository from Perforce to Subversion. Initially, this would be to provide a readonly public repository; eventually, it might lead to development being moved permanently from P4 to SVN. I have two questions, the first more of a possible design issue with VCP and the second more of a practical question based on my incomplete understanding of VCP, so I'll leave the second question for another message.

I am using CLKao's svk to mirror the Perforce repository, which ultimately uses VCP to do the heavy lifting. I've attempted the conversion twice and both times, the server eventually swapped itself almost to death due to the huge RAM requirements (first 512MB then 2GB actual memory installed). Based on my readings of the LIMITATIONS in VCP::Dest::revml, the odds are good that the basic design is flawed for such a large conversion (64k revisions).

I don't know where to start looking; I assume if I could find out what hash is being used to store the metadata, I could convert that to a tied hash and trade performance for being able to actually finish the conversion. I'm not even sure if this is a flaw in VCP::Dest::svk or if it is in one of the other modules that makes up VCP.

Any hints and directions to start my hunt would be appreciated.

John