getVcs(); $url = $this->getUrlViewerRoot() . '/repository/entry/'; $url = rtrim($url . $vcs->getProjectPath(), '/'); $url = rtrim($url . $vcs->getInnerPath(), '/'); if ($this->getFilename()) $url .= '/' . $this->getFilename(); if ($this->getLine()) $url .= '#L' . $this->getLine(); return $url; } }