Fix various parsing bugs in Differential.

This commit is contained in:
epriestley
2011-03-19 14:38:50 -07:00
parent e4fa1523bd
commit 01a20c0480
8 changed files with 70 additions and 21 deletions

View File

@@ -53,7 +53,7 @@ class DiffusionPathChangeQuery {
FROM %T c
LEFT JOIN %T p ON c.pathID = p.id
LEFT JOIN %T t on c.targetPathID = t.id
WHERE c.commitID = %d',
WHERE c.commitID = %d AND isDirect = 1',
PhabricatorRepository::TABLE_PATHCHANGE,
PhabricatorRepository::TABLE_PATH,
PhabricatorRepository::TABLE_PATH,
@@ -61,6 +61,7 @@ class DiffusionPathChangeQuery {
$changes = array();
$raw_changes = isort($raw_changes, 'pathName');
foreach ($raw_changes as $raw_change) {
$type = $raw_change['changeType'];