Add API for change number-related updates.

Review Request #2001 — Created Dec. 14, 2010 and submitted

Information

Review Board
release-1.5.x

Reviewers

Add API for change number-related updates.

This adds some missing API for both updating the associated change number
for a review request, and updating the review request's information based on
the change number. These two things were missing from the new API, and were
provided by the old one.

To simply update the review request's information based on a change number,
a PUT changenum=<changenum> with the existing change number should be called.
Specifying a different change number will attempt to update which change the
review request is pointing to, and then update the information from that.

These are needed for post-review, and will be backported to release-1.5.x.
No testing :( We'd need a sort of test SCMTool for this, but we don't have one yet.
I wanted to get this up for review to be looked at though.
david
  1. I'm going to assume this is okay. A manual test against the public p4 server that we use for scm unit tests would be awesome.
  2. 
      
PA
  1. 
      
  2.