13 messages in com.perforce.perforce-user[p4] Script for "repository surgery" ...
FromSent OnAttachments
John Hempe01 Jul 2003 16:25 
Stephen Vance01 Jul 2003 20:26 
Carsten Orthbandt02 Jul 2003 00:27 
Paul Goffin02 Jul 2003 01:29 
John Hempe02 Jul 2003 14:03 
Shelley L. Shostak02 Jul 2003 15:00 
Steve Schow02 Jul 2003 15:39 
Moon, Ed02 Jul 2003 18:14 
Robert Cowham03 Jul 2003 02:59 
Hardy, Andrew03 Jul 2003 04:55 
Paul Pharr03 Jul 2003 05:46.py
Steve Schow03 Jul 2003 10:48 
Todd Short03 Jul 2003 12:24 
Subject:[p4] Script for "repository surgery" file renaming.
From:Carsten Orthbandt (cars@sek-ost.de)
Date:07/02/2003 12:27:05 AM
List:com.perforce.perforce-user

We did this in order to make the depot follow naming guidelines. Therefore, the rules for renaming were quite simple (replace whitespace with '_', replace german Umlauts with digraphs aso.).

This was done with a C++ program on Win32 just because of commodity.

Could you specify exactly _how_ you want to rename your files because parsing the checkpoint isn't exactly rocket science.

Wenn ich Visionen habe, gehe ich zum Arzt. - Helmut Schmidt

-----Original Message----- From: John Hempe [mailto:John.Hempe at metro1.com] Sent: Wednesday, July 02, 2003 1:26 AM To: perforce-user at perforce.com

Greetings all,

I am looking for an exact script to do "repository surgery" renaming of files, deliberately circumventing the p4 integrate command. This is a one-time surgical operation involving a massive depot import and reorganization so there will be no need to re-sync to the past.

Has anyone written a perl script or any utility to do "surgical" directory renaming through the checkpoint recovery method? I've seen some discussion in the archives but I can't find an exact script and recipe to make the renaming in this way as simple as possible.

Thanks, and please send replies to my direct address and optionally to the list.