Comment #5 on issue 2272 by trowb...@gmail.com: Automatic Update of Chagne Number in ReveiwBoard
http://code.google.com/p/reviewboard/issues/detail?id=2272

From the merged bug:

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:
https://code.google.com/hosting/settings

--
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 reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to