After upgrading to phabricator 524e8a, trying to open a specific, existing Differential revision I get an error
Unhandled Exception ("RuntimeException")
Undefined variable: commits_for_links
That particular differential revision was created without repository-linking, from a bare diff. The revision has comments and was in the state planned changes.
The diff that it was created with was a combination of three diffs generated with git diff. One file path had two diff sections, which the previous version of phabricator we were using was fine with. The previous version must have been c40420.