HomePhabricator

Handle possible null $oldRev in DiffViewHeader hook handler

This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

Handle possible null $oldRev in DiffViewHeader hook handler

Sometimes $oldRev can be null (e.g. not a Revision, but
maybe is a missing revision), and also not sure we can be
certain about $newRev being a Revision object.

Bug: T167359
Change-Id: I4c483d711f2ec07a918c708a473aff1b2c150cf5
(cherry picked from commit 71c586a351b0f79797f14bb07d18146e02681244)

Details

Provenance
audeAuthored on Jun 8 2017, 2:19 AM
Parents
rERSL172b9c1832a4: Merge "Adjust pin layout to new OOjs UI defaults"
Branches
Unknown
Tags
Unknown
ChangeId
I4c483d711f2ec07a918c708a473aff1b2c150cf5