[p4] Rename and modify a file in one step?
axel.wienberg at coremedia-ag.com
axel.wienberg at coremedia-ag.com
Mon Oct 16 00:19:53 PDT 2000
The problem is that when you use "reopen for edit", the branch history is
lost - in the file history, the "branch" action is downgraded to an "add".
I believe you need two submissions, one for "branch" and another one for
"edit".
Todd Short wrote:
> 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.
>
> > -----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.
--
Axel Wienberg - Software Engineer
axel.wienberg at coremedia-ag.com - fon +49.40.325587.509 fax .999
CoreMedia AG - www.coremedia-ag.com
Düsternstraße 3, 20355 Hamburg, Germany
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://maillist.perforce.com/pipermail/perforce-user/attachments/20001016/11fb2a99/attachment.html>
More information about the perforce-user
mailing list