id = $data['id']; } public function processRequest() { $changeset = id(new DifferentialChangeset())->load($this->id); if (!$changeset) { return new Aphront404Response(); } $changeset->attachHunks($changeset->loadHunks()); $parser = new DifferentialChangesetParser(); $parser->setChangeset($changeset); $output = $parser->render(); // TODO: This is a bit of a hacky mess. $output = '
'. '
'. '
'. '

'.phutil_escape_html($changeset->getDisplayFilename()).'

'. '
'. $output. '
'. '
'. '
'; return $this->buildStandardPageResponse( array( $output ), array( 'title' => 'Changeset View', )); } }