Commits

lornajane committed 86ec2b8

adding VersionControl_Hg_Command_Version::__toString() as it's expected by VersionControl_Hg::__toString()

  • Participants
  • Parent commits ae9b4fd

Comments (0)

Files changed (1)

File Trunk/VersionControl/Hg/Command/Version.php

 
         return $version;
     }
+
+    /**
+     * Return the results of the execute method when echoed
+     *
+     */
+
+    public function __toString() {
+        $version = $this->execute();
+        return $version['raw'];
+    }
 }