comparison app/models/repository/mercurial.rb @ 1136:51d7f3e06556 redmine-2.2-integration

Fix "uninitialized constant Redmine::Scm::Adapters::CommandFailed" (see https://www.chiliproject.org/projects/chiliproject/repository/revisions/cbcce704006c6827b4a3134a2dda9de7c47f18ae)
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Thu, 10 Jan 2013 11:01:47 +0000
parents bb32da3bea34
children 4f746d8966dd
comparison
equal deleted inserted replaced
1135:522f2aff1f07 1136:51d7f3e06556
13 # 13 #
14 # You should have received a copy of the GNU General Public License 14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software 15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 16 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17 17
18 require 'redmine/scm/adapters/mercurial_adapter' 18 require_dependency 'redmine/scm/adapters/mercurial_adapter'
19 19
20 class Repository::Mercurial < Repository 20 class Repository::Mercurial < Repository
21 # sort changesets by revision number 21 # sort changesets by revision number
22 has_many :changesets, 22 has_many :changesets,
23 :order => "#{Changeset.table_name}.id DESC", 23 :order => "#{Changeset.table_name}.id DESC",