From fa94e86d43c98c0b9dc5aeb19fdce2444574c465 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Wed, 25 May 2011 11:33:36 +0000 Subject: [PATCH] scm: add exception of fetching revisions error in repository model (#5357, #2799, #4741, #8030). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5899 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/models/repository.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/models/repository.rb b/app/models/repository.rb index 00d80fb31..df64e501e 100644 --- a/app/models/repository.rb +++ b/app/models/repository.rb @@ -15,6 +15,8 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +class ScmFetchError < Exception; end + class Repository < ActiveRecord::Base include Redmine::Ciphering