public function testSaveWorkingCopy() { $vcs = new Hg(); $vcs->createTag(new \Liip\RMT\Version('2.0.0')); $this->assertCount(1, $vcs->getAllModificationsSince('2.0.0')); exec('rm file2'); $vcs->saveWorkingCopy('Remove the second file'); $this->assertCount(2, $vcs->getAllModificationsSince('2.0.0')); }