How to specify base revision for personal build via REST API

I'm able to start personal builds via REST API, and this all works fine and dandy.  But occasionally I've gotten errors that my diff failed to apply.  I think it's because I'm not able to tell TeamCity what revision to sync the repo to before applying the patch.

The thing I'm building allows developers to run personal builds from a command line without ever pushing their changes to the repo.  I can generate a diff easily, but I need to be able to tell TeamCity what revision I based this diff off of, so that it can apply it on top of the same revision.  Is there any way to specify this in the REST API?

Please sign in to leave a comment.