Project

General

Profile

Actions

Defect #7059

closed

Error on the implementation issues Repository.fetch_changesets

Added by 刚 林 almost 14 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
SCM
Target version:
-
Start date:
2010-12-07
Due date:
% Done:

0%

Estimated time:
Resolution:
Duplicate
Affected version:

Description

Error message:

ruby script/runner "Repository.fetch_changesets" -e production
./script/../config/../vendor/rails/railties/lib/rails/gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010.  Use #requirement
/web/redmine/vendor/rails/railties/lib/commands/runner.rb:48: undefined method `[]' for nil:NilClass (NoMethodError)
    from /web/redmine/lib/redmine/scm/adapters/mercurial_adapter.rb:40:in `hgversion'
    from /web/redmine/lib/redmine/scm/adapters/mercurial_adapter.rb:33:in `client_version'
    from /web/redmine/lib/redmine/scm/adapters/mercurial_adapter.rb:51:in `template_path'
    from /web/redmine/lib/redmine/scm/adapters/mercurial_adapter.rb:108:in `revisions'
    from /web/redmine/lib/redmine/scm/adapters/mercurial_adapter.rb:72:in `info'
    from /web/redmine/app/models/repository/mercurial.rb:56:in `fetch_changesets'
    from /web/redmine/vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb:217:in `send'
    from /web/redmine/vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb:217:in `method_missing'
    from /web/redmine/app/models/repository.rb:175:in `fetch_changesets'
    from /web/redmine/app/models/repository.rb:173:in `each'
    from /web/redmine/app/models/repository.rb:173:in `fetch_changesets'
    from (eval):1
    from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `eval'
    from /web/redmine/vendor/rails/railties/lib/commands/runner.rb:48
    from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
    from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
    from script/runner:3

System Information:

Ubuntu 10.10
rails -v=2.3.5
rack --version=1.0.1
ruby1.8


Related issues

Is duplicate of Redmine - Patch #5117: mercurial_adapter should ensure the right LANG environment variableClosed2010-03-18

Actions
Actions #1

Updated by Toshi MARUYAMA almost 14 years ago

This is fixed by #5117.

Actions #2

Updated by Toshi MARUYAMA almost 14 years ago

  • Status changed from New to Resolved
Actions #3

Updated by Toshi MARUYAMA almost 14 years ago

  • Status changed from Resolved to Closed
  • Resolution set to Duplicate
Actions

Also available in: Atom PDF