Indefero

Indefero Commit Details


Date:2010-04-15 08:38:03 (14 years 8 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:45fa309c07953262a1a5a5e7acead3d79d0e64d3
Parents: 2ad13a96f923db98caf97d7afeeca066a42a8cf6
Message:Fixed to have a simpler code.

Changes:

File differences

src/IDF/Plugin/SyncMercurial.php
232232
233233
234234
235
236
237
235
238236
239237
240238
*/
public function processSyncTimeline($params)
{
$repo_dir = $params['rel_dir'];
$elts = preg_split('#/#', $repo_dir, -1, PREG_SPLIT_NO_EMPTY);
$pname = array_pop($elts);
$pname = basename($params['rel_dir']);
try {
$project = IDF_Project::getOr404($pname);
} catch (Pluf_HTTP_Error404 $e) {

Archive Download the corresponding diff file

Page rendered in 0.06608s using 13 queries.