*/
function fetch_head_rev($path)
{
+ $output = $this->registry->shell->exec($this->registry->svn->svnpath . ' info ' . $this->registry->repos->fetch_path($this->registry->paths->fetch_repos($path), false) . $this->registry->paths->fetch_path($path));
+
+ foreach ($output AS $line)
+ {
+ if (preg_match('#^Last Changed Rev: (.*)#', $line, $matches))
+ {
+ return $matches[1];
+ }
+ }
+
$revs = $this->fetch_revs($path);
return $revs['HEAD'];
}
* @access public
*
* @param string Universal path
+ * @param bool Override the cache system?
*
* @return array Log data
*/