Avoid error in blaming empty file

Summary: Fixes T2389, resolves TODO.

Test Plan: Blamed seemingly binary file.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Maniphest Tasks: T2389

Differential Revision: https://secure.phabricator.com/D4604
This commit is contained in:
vrana
2013-01-23 15:11:16 -08:00
parent a54a60df36
commit ffd46df597
2 changed files with 4 additions and 6 deletions

View File

@@ -467,8 +467,6 @@ final class DiffusionBrowseFileController extends DiffusionController {
// with same color; otherwise generate blame info. The newer a change
// is, the more saturated the color.
// TODO: SVN doesn't always give us blame for the last line, if empty?
// Bug with our stuff or with SVN?
$rev = idx($rev_list, $k, $last_rev);
if ($last_rev == $rev) {