zencoder/zenflow — pull request #20 by mtolan (2014-03-24 13:32:23+00:00)
Title: Preferentially create a PR to 'destination' when it exists

I was having problems with 'zenflow release review'. Specifically, it always failed because it was attempting to create a release branch from master, and then submit a PR to master, which would fail because there were no changes (we did just create it, after all).

Looking at the workflow of some other projects that use zenflow, it seems like 'zenflow release review' ought to create a PR from the release branch to the destination (usu. 'production'). Since none of the other flows seem to provide 'destination' this seems like the right approach.