public function diff(Version $oldVersion, Version $newVersion) { $head = $this->getHead($oldVersion); $this->client->setHead($head); $result = $this->client->diff($this->getHead($oldVersion), $this->getHead($newVersion), $oldVersion->getBuild(), $newVersion->getBuild()); return $result; }
public function testSwitchingToDifferentBranch() { $result = $this->client->setHead(new Reference('feature1')); }