From aa043f14ac0e537756374931fce735886b1b0a26 Mon Sep 17 00:00:00 2001 From: Thomas Keller Date: Mon, 6 Jun 2011 23:01:25 +0200 Subject: [PATCH] Two occurrences forgotten --- src/IDF/Plugin/SyncMonotone.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/IDF/Plugin/SyncMonotone.php b/src/IDF/Plugin/SyncMonotone.php index 19ea163..c11fc1c 100644 --- a/src/IDF/Plugin/SyncMonotone.php +++ b/src/IDF/Plugin/SyncMonotone.php @@ -283,7 +283,7 @@ class IDF_Plugin_SyncMonotone if (substr($content, -3) != '.in') { if (!@symlink($confdir.$content, $filepath)) { - IDF_Scm_Exception(sprintf( + $this->_diagnoseProblem(sprintf( __('Could not create symlink for configuration file "%s"'), $filepath )); @@ -446,7 +446,7 @@ class IDF_Plugin_SyncMonotone $serverRestartRequired = false; if ($project->private && file_exists($projectfile) && is_link($projectfile)) { if (!@unlink($projectfile)) { - IDF_Scm_Exception(sprintf( + $this->_diagnoseProblem(sprintf( __('Could not remove symlink "%s"'), $projectfile )); }