6 messages in com.perforce.perforce-user[p4] Rename and modify a file in one ...
FromSent OnAttachments
Jim Fagan13 Oct 2000 10:02 
Todd Short13 Oct 2000 10:28 
axel...@coremedia-ag.com16 Oct 2000 00:19 
Gareth Rees16 Oct 2000 01:00 
Amaury FORGEOT-d'ARC16 Oct 2000 01:36 
axel...@coremedia-ag.com18 Oct 2000 08:35 
Subject:[p4] Rename and modify a file in one step?
From:Jim Fagan (jfa@agillion.agillion.com)
Date:10/13/2000 10:02:36 AM
List:com.perforce.perforce-user

I want to rename a java class file and edit it, all within one change list.

Specifically, I want to do the following in one change list: - branch the new file (I know how to do this.) - remove the old file (I know how to do this.) - edit the new file to change class and constructor names. (I don't know how to do this part.)

Can this be done? I've read the best way to rename a file is to use the integrate option, as this keeps revision history, so I've been telling our Developers to do this. My concern is potential build breaks, if one developer has the new file name, but not with the changes in it.