These changes speed of display of diffs in chora immensely for me.
}
$ob->setRepository($this);
- $ob->applySort(self::SORT_AGE);
if (!empty($this->_cache) && !$fetchedFromCache) {
$this->_cache->set($cacheId, serialize($ob));
return $revlist;
}
- /**
+ /**
+ * TODO
+ */
+ public function queryLogs($rev = null)
+ {
+ if (is_null($rev)) {
+ $this->_ensureLogsInitialized();
+ return $this->logs;
+ } else {
+ if (!isset($this->logs[$rev])) {
+ $this->logs[$rev] = $this->_rep->getLogObject($this, $rev);
+ }
+
+ return isset($this->logs[$rev]) ? $this->logs[$rev] : null;
+ }
+ }
+
+ /**
* Return the last Horde_Vcs_Log object in the file.
*
* @return Horde_Vcs_Log Log object of the last entry in the file.