Perforce: How to update a submitted changelist?

Greetings!

The new Perforce actions in FB are smokin hot (thanks!).

My flow is:

  1. Create changelist
  2. Submit changelist
  3. Sync to changelist
  4. Build

Now my list piece is....

  1. Update changelist to note if build was successful or not...

But I do not see how to do that. (I can do it by hand...)

 

Pointers?

Thanks!

OK, Perforce has this feature, but it is not surfaced as an out of box FB action...

 

Here is how to do it:

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

In 2007.2 and later releases, the user who owns the submitted changelist can
use the -u flag with p4 change to modify the description field.

       http://www.perforce.com/perforce/doc.082/user/relnotes.txt

    #118826 **
        'p4 change' has a new '-u' option to allow the owner of a
        submitted change to update its description and/or jobs fields.
        (Bug #1159).

but because of this bug, which has been fixed in 2008.1 and later releases,

    #149573 **
        'p4 change -u' no longer requires both the username and
        workspace of the user to match those of the owner of the
        submitted change. Now only the username needs to match.
        (Bug #25380, #28412)

you might also need to use the -c and -H flags as a workaround in 2007.2.

p4 -c client_name -H host_name change -u changelist#

I hope this solution will serve you well so you do not need to resort to other
approaches. Please give it a try and let me know if it does not work.

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

Hi Sam,

There’s not built-in action for the Perforce ‘change’ command, you’ll need to use the Perforce generic action to update the change list. I don’t have a copy of Perforce installed on this machine but the action parameters should be something like:

Perforce Command: change
Command Line Arguments: -u Description:[NEW DESCRIPTION] [CHANGELIST #]

You can find more information on the ‘change’ command from http://www.perforce.com/perforce/doc.082/manuals/cmdref/change.html

Regards,
Paul.

Thanks!

The p4 Generic works great. I got this working both with P4 2007.2 and 2008.2


Very slick!!!