13 messages in com.perforce.perforce-user[p4] Script for "repository surgery" ...| From | Sent On | Attachments |
|---|---|---|
| John Hempe | 01 Jul 2003 16:25 | |
| Stephen Vance | 01 Jul 2003 20:26 | |
| Carsten Orthbandt | 02 Jul 2003 00:27 | |
| Paul Goffin | 02 Jul 2003 01:29 | |
| John Hempe | 02 Jul 2003 14:03 | |
| Shelley L. Shostak | 02 Jul 2003 15:00 | |
| Steve Schow | 02 Jul 2003 15:39 | |
| Moon, Ed | 02 Jul 2003 18:14 | |
| Robert Cowham | 03 Jul 2003 02:59 | |
| Hardy, Andrew | 03 Jul 2003 04:55 | |
| Paul Pharr | 03 Jul 2003 05:46 | .py |
| Steve Schow | 03 Jul 2003 10:48 | |
| Todd Short | 03 Jul 2003 12:24 |
| Subject: | [p4] Script for "repository surgery" file renaming.![]() |
|---|---|
| From: | Paul Goffin (Paul...@aepsystems.com) |
| Date: | 07/02/2003 01:29:30 AM |
| List: | com.perforce.perforce-user |
On this subject, one script/process I'd like to have is something to cut out intermediate branches.
We have a number of instances in our depot of codelines/files being branched to an incorrect part - and then the developer didn't follow procedure and rebranch from the original path but corrected their mistake by a branch/delete from the incorrect path.
Plainly this isn't a "critical" issue - but it does "clutter up" a codeline. Some of our codelines are quite "untidy" and difficult to mine as a result (some developers make a habit of this. They can do quite a bit of damage before its noticed.)
Anyone else looked into this?
Paul.
-----Original Message----- From: Carsten Orthbandt [mailto:carsten.orthbandt at sek-ost.de] Sent: 02 July 2003 08:27 To: perforce-user at perforce.com Subject: RE: [p4] Script for "repository surgery" file renaming.
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.
Carsten Orthbandt Founder + Development Director SEK SpieleEntwicklungsKombinat GmbH http://www.sek-ost.de
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.
--John Hempe
_______________________________________________ perforce-user mailing list - perforce-user at perforce.com http://maillist.perforce.com/mailman/listinfo/perforce-user
_______________________________________________ perforce-user mailing list - perforce-user at perforce.com http://maillist.perforce.com/mailman/listinfo/perforce-user
.
.
******************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the postmaster at the address below. ITS-Support at aepsystems.com This footnote also confirms that this email message has been checked for the presence of computer viruses. **********************************************************************





.py