# Perforce: How to update a submitted changelist?

**URL:** https://www.finalbuilder.com/forums/t/perforce-how-to-update-a-submitted-changelist/1147
**Category:** Discussion
**Created:** [March 18, 2009, 12:33pm UTC](https://www.finalbuilder.com/forums/t/perforce-how-to-update-a-submitted-changelist/1147 "2009-03-18T12:33:10Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![rafael](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/r/4da419/32.png) [@rafael](https://www.finalbuilder.com/forums/u/rafael)
#### Post date: [March 18, 2009, 12:33pm UTC](https://www.finalbuilder.com/forums/t/perforce-how-to-update-a-submitted-changelist/1147/1 "2009-03-18T12:33:10Z")

</div>

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...)

&nbsp;

Pointers?

Thanks!

---

<div class="post-metadata">

### Author: ![rafael](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/r/4da419/32.png) [@rafael](https://www.finalbuilder.com/forums/u/rafael)
#### Post date: [March 18, 2009, 1:53am UTC](https://www.finalbuilder.com/forums/t/perforce-how-to-update-a-submitted-changelist/1147/2 "2009-03-18T01:53:27Z")

</div>

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

&nbsp;

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.  
  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; http://www.perforce.com/perforce/doc.082/user/relnotes.txt  
  
&nbsp;&nbsp;&nbsp; #118826 \*\*  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'p4 change' has a new '-u' option to allow the owner of a  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; submitted change to update its description and/or jobs fields.  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (Bug #1159).  
  
but because of this bug, which has been fixed in 2008.1 and later releases,   
  
&nbsp;&nbsp;&nbsp; #149573 \*\*  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'p4 change -u' no longer requires both the username and   
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; workspace of the user to match those of the owner of the   
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; submitted change. Now only the username needs to match.  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (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.

\<\<\<\<\<\<\<\<\<\<\<\<\<\<\<\<\<\<\<\<\<\<\<\<\<\<\<\<\<\<\<\<\<\<\<\<

---

<div class="post-metadata">

### Author: ![paulsamways](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/e8c25b/32.png) [@paulsamways](https://www.finalbuilder.com/forums/u/paulsamways)
#### Post date: [March 18, 2009, 1:56am UTC](https://www.finalbuilder.com/forums/t/perforce-how-to-update-a-submitted-changelist/1147/3 "2009-03-18T01:56:11Z")

</div>

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](http://www.perforce.com/perforce/doc.082/manuals/cmdref/change.html)   
  
 Regards,   
 Paul.

---

<div class="post-metadata">

### Author: ![rafael](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/r/4da419/32.png) [@rafael](https://www.finalbuilder.com/forums/u/rafael)
#### Post date: [March 20, 2009, 1:21am UTC](https://www.finalbuilder.com/forums/t/perforce-how-to-update-a-submitted-changelist/1147/4 "2009-03-20T01:21:16Z")

</div>

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