]> source.dussan.org Git - redmine.git/commitdiff
scm: add exception of fetching revisions error in repository model (#5357, #2799...
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 25 May 2011 11:33:36 +0000 (11:33 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 25 May 2011 11:33:36 +0000 (11:33 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5899 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/models/repository.rb

index 00d80fb3168d4f6f596b0af56e6ebad5bb7735fb..df64e501e9d12e7dd4de6f8343ba625395ebbd2d 100644 (file)
@@ -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