Project

General

Profile

Actions

Defect #10887

open

Can't fetch Mercurial changesets from repository

Added by Jens Bäckman over 12 years ago. Updated about 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
SCM
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

I get this backtrace when trying to view a repository:

NoMethodError (undefined method `[]' for nil:NilClass):
  lib/redmine/scm/adapters/mercurial_adapter.rb:206:in `each_revision'
  app/models/repository/mercurial.rb:141:in `fetch_changesets'
  app/models/repository/mercurial.rb:140:in `step'
  app/models/repository/mercurial.rb:140:in `fetch_changesets'
  app/controllers/repositories_controller.rb:91:in `show'
  /usr/lib/ruby/1.8/rack/adapter/rails.rb:74:in `call'
  /usr/lib/ruby/1.8/thin/connection.rb:76:in `pre_process'
  /usr/lib/ruby/1.8/thin/connection.rb:74:in `catch'
  /usr/lib/ruby/1.8/thin/connection.rb:74:in `pre_process'
  /usr/lib/ruby/1.8/thin/connection.rb:57:in `process'
  /usr/lib/ruby/1.8/thin/connection.rb:42:in `receive_data'
  /usr/lib/ruby/1.8/eventmachine.rb:257:in `run_machine'
  /usr/lib/ruby/1.8/eventmachine.rb:257:in `run'
  /usr/lib/ruby/1.8/thin/backends/base.rb:57:in `start'
  /usr/lib/ruby/1.8/thin/server.rb:156:in `start'
  /usr/lib/ruby/1.8/thin/controllers/controller.rb:80:in `start'
  /usr/lib/ruby/1.8/thin/runner.rb:174:in `send'
  /usr/lib/ruby/1.8/thin/runner.rb:174:in `run_command'
  /usr/lib/ruby/1.8/thin/runner.rb:140:in `run!'
  /usr/bin/thin1.8:6

The repository in question has over 3000 changesets.

Output from script/about:

About your application's environment
Ruby version              1.8.7 (x86_64-linux)
RubyGems version          1.3.7
Rack version              1.1.3
Rails version             2.3.14
Active Record version     2.3.14
Active Resource version   2.3.14
Action Mailer version     2.3.14
Active Support version    2.3.14
Application root          /var/lib/redmine
Environment               production
Database adapter          mysql
Database schema version   20120301153455

Running Redmine 1.4-stable -> thin -> nginx.

Actions

Also available in: Atom PDF