[p4] Has the Eclipse plug-in's refactoring behavior changed?

steve at vance.com steve at vance.com
Fri Oct 9 14:43:39 PDT 2009


It's marked as an add because in Java it needs to edit the file in order to
change the class or package name. When you edit a branch operation, the
short-hand for that is also add although it's a different type of
integration record internally if you look at the integration history.

Steve

Original Message:
-----------------
From: Ivey, William william_ivey at bmc.com
Date: Fri, 9 Oct 2009 12:36:32 -0600
To: robert at vizim.com, perforce-user at perforce.com
Subject: Re: [p4] Has the Eclipse plug-in's refactoring behavior changed?


2008.2

I just got an email from one of the users and they've confirmed
that it IS doing the right thing, but the icons in the change
list are slightly different from what P4V shows when the
Rename/Move menu item is used. Their icon for the new file is
marked as an "add", when I use P4V to do a rename I see it marked
as a branch. That was where the confusion came in, I think.

The result is correct, though, once it is submitted. Maybe P4V
has more state information when it does the operation as opposed
to displaying a change list generated by another client.

Thanks.

-Wm


-----Original Message-----
From: Robert Cowham [mailto:robert at vizim.com] 
Sent: Friday, October 09, 2009 12:42 PM
To: Ivey, William; perforce-user at perforce.com
Subject: RE: [p4] Has the Eclipse plug-in's refactoring behavior changed?

> I don't use, but I tried it a few years ago and it appeared 
> to do a proper rename (integrate+delete) of files it was refactoring.
> 
> I've got some users who say that now it is deleting the file 
> in the original location and adding - not branching - it 
> under the new name. Can anyone confirm or deny this as the 
> current behavior? Thanks.
> 
> They are new to Perforce and this may be a misinterpretation 
> on their part.

P4WSAD - New Features included for Release 2009.1

Support for renaming and moving files multiple times prior to submitting.

>From p4d release notes:

Major new functionality in 2009.1

	#177023 * **
	    The new 'p4 move' command allows for better support for
	    renaming files.  A file must be already opened for 'edit'
	    or 'add' in order to be moved.  Moved files can be synced,
	    resolved and diffed against the repository just like files
	    opened for 'edit'.  See 'p4 help move' for more info.

What server are you on?

Robert
See our new P4DTG based integration with TeamTrack/Serena Business Mashups 
www.vizim.com

_______________________________________________
perforce-user mailing list  -  perforce-user at perforce.com
http://maillist.perforce.com/mailman/listinfo/perforce-user


--------------------------------------------------------------------
mail2web LIVE – Free email based on Microsoft® Exchange technology -
http://link.mail2web.com/LIVE




More information about the perforce-user mailing list