Project

General

Profile

Actions

Defect #33108

open

Mercurial support is broken for Mercurial 5.1 or later

Added by Go MAEDA over 4 years ago. Updated over 4 years ago.

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

0%

Estimated time:
Resolution:
Affected version:

Description

$ bin/rails test test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb
Run options: --seed 12509

# Running:

E

Error:
MercurialAdapterTest#test_tags:
Redmine::Scm::Adapters::MercurialAdapter::HgCommandAborted: hg exited with non-zero status: 255
    lib/redmine/scm/adapters/mercurial_adapter.rb:327:in `hg'
    lib/redmine/scm/adapters/mercurial_adapter.rb:133:in `summary'
    lib/redmine/scm/adapters/mercurial_adapter.rb:101:in `tags'
    test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb:322:in `test_tags'

bin/rails test test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb:321

..E

Error:
MercurialAdapterTest#test_diff_made_by_revision:
NoMethodError: undefined method `size' for nil:NilClass
    test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb:161:in `block in test_diff_made_by_revision'
    test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb:159:in `each'
    test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb:159:in `test_diff_made_by_revision'

bin/rails test test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb:157
.
.
.
Actions

Also available in: Atom PDF