HomePhorge

Fix a warning when viewing a revision not attached to a repository

Description

Fix a warning when viewing a revision not attached to a repository

Summary: We'll get a typehint warning on the repository if there's no repository. Check outside the method instead.

Test Plan: Loaded page, no warning.

Reviewers: btrahan, vrana, jungejason

Reviewed By: vrana

CC: aran

Differential Revision: https://secure.phabricator.com/D2194

Details

Provenance
epriestleyAuthored on Apr 10 2012, 1:34 PM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rPfe9ba6bc67dd: Improve DifferentialRevisionQuery and add the ability to query by arcanist…
Branches
Unknown
Tags
Unknown

Event Timeline