Indefero

Indefero Commit Details


Date:2010-09-16 19:36:48 (14 years 7 months ago)
Author:Thomas Keller
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:50638c768f302f278c94583fac36fc4818ff47d6
Parents: 29b8bf8a4e692f8407beb57aff81fd64a9d33459
Message:Ensure that the SyncMonotone plugin does not throw around errors in case of a local (non-usher) monotone setup.

Changes:

File differences

src/IDF/Plugin/SyncMonotone.php
7676
7777
7878
79
80
81
82
7983
8084
8185
......
278282
279283
280284
285
286
287
288
281289
282290
283291
......
338346
339347
340348
349
350
351
352
341353
342354
343355
......
419431
420432
421433
422
434
423435
436
437
438
439
440
424441
425442
426443
......
525542
526543
527544
528
545
529546
547
548
549
550
551
530552
531553
532554
            return;
        }
        if (Pluf::f('mtn_db_access', 'local') == 'local') {
            return;
        }
        $projecttempl = Pluf::f('mtn_repositories', false);
        if ($projecttempl === false) {
            throw new IDF_Scm_Exception(
            return;
        }
        if (Pluf::f('mtn_db_access', 'local') == 'local') {
            return;
        }
        $mtn = IDF_Scm_Monotone::factory($project);
        $stdio = $mtn->getStdio();
            return;
        }
        if (Pluf::f('mtn_db_access', 'local') == 'local') {
            return;
        }
        $usher_config = Pluf::f('mtn_usher_conf', false);
        if (!$usher_config || !is_writable($usher_config)) {
            throw new IDF_Scm_Exception(
     */
    public function processKeyCreate($key)
    {
        if ($key->getType() != 'mtn')
        if ($key->getType() != 'mtn') {
            return;
        }
        if (Pluf::f('mtn_db_access', 'local') == 'local') {
            return;
        }
        foreach (Pluf::factory('IDF_Project')->getList() as $project) {
            $conf = new IDF_Conf();
     */
    public function processKeyDelete($key)
    {
        if ($key->getType() != 'mtn')
        if ($key->getType() != 'mtn') {
            return;
        }
        if (Pluf::f('mtn_db_access', 'local') == 'local') {
            return;
        }
        foreach (Pluf::factory('IDF_Project')->getList() as $project) {
            $conf = new IDF_Conf();

Archive Download the corresponding diff file

Page rendered in 0.17816s using 13 queries.