Actions
Defect #33108
openMercurial support is broken for Mercurial 5.1 or later
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 . . .
Updated by Go MAEDA almost 5 years ago
- Subject changed from Mercurial support is broken for Mercurial 5.2.1 or later to Mercurial support is broken for Mercurial 5.1 or later
Also Mercurial 5.1 causes test failures.
$ 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
Actions