Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 3124 by Update the Perforce changelist number once the changelist has been submitted

*** You must complete this form in its entirety, or your bug report will be
*** For customer support, please post to
*** If you have a patch, please submit it to
*** Do not post confidential information in this bug report!

What version are you running?

What's the URL of the page containing the problem?

What steps will reproduce the problem?
1. Post a review for changelist 123456 (notice correct Change Number displayed on review)

2. Submit the changelist 123456 which gives output like:

p4 submit -c 123456
Submitting change 123456.
Locking 1 files ...
Elapsed time: 0.018085
edit //depot/path/to/
Change 123456 renamed change 123567 and submitted.

3. Notice that review request still shows Change Number: 123456 instead of 123567.

What is the expected output? What do you see instead?

It would be nice if the review showed the new Change Number 123567.

What operating system are you using? What browser?

Windows 7, Chrome

Please provide any additional information below.

You can use "p4 change -O -o <changelist>" to find the new changelist number for a submitted changelist. This also conveniently works for changelists that have not been renamed such as pending changelists.

In scmtools/, in PerforceClient._get_changeset you currently call "p4 describe -s <changesetid>" to get the changeset information. If you instead first call "p4 change -O -o <changesetid>" and parse out the new changelist number you can then call "p4 describe -s" on the new changelist number. You would then need to update PerforceTool.parse_change_desc to set changeset.changenum to the parsed changenum instead of the passed in changenum.

You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:

You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
To post to this group, send email to
Visit this group at
For more options, visit

Reply via email to