プロジェクト

全般

プロフィール

Vote #80732

未完了

Mercurial support is broken for Mercurial 5.1 or later

Admin Redmine さんが約4年前に追加. 約4年前に更新.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
SCM_3
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
3
version_id:
0
issue_org_id:
33108
author_id:
332
assigned_to_id:
0
comments:
1
status_id:
1
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

$ 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
.
.
.

journals

Also Mercurial 5.1 causes test failures.

<pre>
$ ruby test/unit/repository_mercurial_test.rb
WARNING: Nokogiri was built against LibXML version 2.9.9, but has dynamically loaded 2.9.10
Run options: --seed 56133

# Running:

.......F

Failure:
RepositoryMercurialTest#test_latest_changesets [test/unit/repository_mercurial_test.rb:261]:
Expected: ["30", "11", "10", "9"]
Actual: ["11", "10", "9"]

bin/rails test test/unit/repository_mercurial_test.rb:248

....F

Failure:
RepositoryMercurialTest#test_fetch_changesets_from_scratch [test/unit/repository_mercurial_test.rb:170]:
Expected: 46
Actual: 40

bin/rails test test/unit/repository_mercurial_test.rb:165
</pre>
--------------------------------------------------------------------------------

Admin Redmine さんが約4年前に更新

  • カテゴリSCM_3 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0