Labels: Type-Defect Priority-Medium
New issue 3124 by matt.mul...@gmail.com: Update the Perforce changelist
number once the changelist has been submitted
*** READ THIS BEFORE POSTING!
*** You must complete this form in its entirety, or your bug report will be
*** For customer support, please post to reviewbo...@googlegroups.com
*** 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
Change 123456 renamed change 123567 and submitted.
3. Notice that review request still shows Change Number: 123456 instead of
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/perforce.py, 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
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to firstname.lastname@example.org.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/groups/opt_out.