From: Toshi MARUYAMA Date: Wed, 25 May 2011 11:33:36 +0000 (+0000) Subject: scm: add exception of fetching revisions error in repository model (#5357, #2799... X-Git-Tag: 1.3.0~1950 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=fa94e86d43c98c0b9dc5aeb19fdce2444574c465;p=redmine.git 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 --- 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