[p4] Rename and modify a file in one step?
tshort at cisco.com
Fri Oct 13 10:28:57 PDT 2000
In 99.2 and later (maybe even 99.1), in the p4win, there is an option to
"reopen for edit" for branched files. When you right click on it. In the
command line, you may be able to simple 'p4 edit' it.
// tshort at cisco.com
// "One if by land, two if by sea, three if by the Internet."
> -----Original Message-----
> From: perforce-user-admin at perforce.com
> [mailto:perforce-user-admin at perforce.com]On Behalf Of Jim Fagan
> Sent: Friday, October 13, 2000 1:03 PM
> To: perforce-user at perforce.com
> Subject: [p4] Rename and modify a file in one step?
> 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.
> Jim Fagan - Configuration Management Engineer 682-8013
> The Way Small Business Works on the Web.. http://www.agillion.com
> perforce-user mailing list - perforce-user at perforce.com
More information about the perforce-user