Indefero

Indefero Commit Details


Date:2009-07-23 16:33:08 (15 years 4 months ago)
Author:Loic d'Anterroches
Branch:develop, feature-issue_links, feature.better-home, feature.content-md5, feature.diff-whitespace, feature.download-md5, feature.issue-links, feature.issue-of-others, feature.issue-summary, feature.search-filter, feature.webrepos, feature.wiki-default-page, master, release-1.1, release-1.2, release-1.3
Commit:6845f591504e2a24608b531399882b4e07c0aed6
Parents: 021805f1e131b851830c8096b4161bbbb1070ae0
Message:Fixed variable used before being instanciated in the Mercurial backend.

Changes:

File differences

src/IDF/Scm/Mercurial.php
261261
262262
263263
264
265
264266
265
266
267
267268
268269
269270
return $this->cache['branches'];
}
$out = array();
$cmd = sprintf(Pluf::f('hg_path', 'hg').' branches -R %s',
escapeshellarg($this->repo));
$cmd = Pluf::f('idf_exec_cmd_prefix', '').$cmd;
exec(sprintf(Pluf::f('hg_path', 'hg').' branches -R %s',
escapeshellarg($this->repo)), $out);
exec($cmd, $out);
$res = array();
foreach ($out as $b) {
preg_match('/(\S+).*\S+:(\S+)/', $b, $match);

Archive Download the corresponding diff file

Page rendered in 0.06893s using 13 queries.