public function willBeginExecution() { $request = $this->getRequest(); // Check if this is a VCS request, e.g. from "git clone", "hg clone", or // "svn checkout". If it is, we jump off into repository serving code to // process the request. if (DiffusionServeController::isVCSRequest($request)) { $serve_controller = id(new DiffusionServeController())->setCurrentApplication($this->getCurrentApplication()); return $this->delegateToController($serve_controller); } return parent::willBeginExecution(); }