Source

VersionControl_Hg / Trunk / Tests / Functional / test_HgConstructor_NonexistantPath.php

The default branch has multiple heads

Diff from to

File Trunk/Tests/Functional/test_HgConstructor_NonexistantPath.php

 <?php
 
+include_once '../../VersionControl/Hg.php';
+
 /* construct with an non-existing path */
 echo "construct with an non-existing path\r\n";
 try {
     $hg = new VersionControl_Hg("C:\Temp");
-    var_dump($hg->getRepository());
+    var_dump($hg);
 }
 catch (Exception $e) {
     var_dump($e->getMessage());