[p4] [Creating a new head revision with a single click]

Stephen Vance steve at vance.com
Wed May 30 13:59:26 PDT 2007


You can write something for the Tools menu easily. You don't need to 
make the simple edit, either. Otherwise, that's the recipe, and it's 
easy to automate. It could take a little more if there are deletes in 
the intervening history. See Tech Note 14 
http://www.perforce.com/perforce/technotes/note014.html.

Steve

Mark.Bonfiglio at smsc.com wrote:
> Hello,
>
> I'm looking for single-mouse-click solution to make one revision of a file 
> the new head revision.
>
> My current method is a bit cumbersome.  For example if I have a file that 
> has 10 revisions, and I want to make revision 4, the new head (essentially 
> becoming revision #11) I do the following:
>                 Check out revision 4
>                 Make a simple edit to rev 4 (usually add whitespace)
>                 Get latest revision from depot (this sets up a conflict)
>                 Resolve the conflict, making my file the new head
>                 Submit the change
>
> What would be nice, is a right-click menu option titled something like 
> "Make new Head Revision" that performs the above operations.
>
> Is there a plugin that does this? Or does anyone know how to automate 
> these steps?
>
>
> Thanks for any tips
>
> -Mark
> _______________________________________________
> perforce-user mailing list  -  perforce-user at perforce.com
> http://maillist.perforce.com/mailman/listinfo/perforce-user
>
>   


More information about the perforce-user mailing list