Redmine/lib/redmine
Toshi MARUYAMA 81ef038587 scm: mercurial: drop supporting below Mercurial 1.1 (#9465)
On November 1st 2011, Mercurial 2.0 will be released.

On Mercurial 1.1.2, unit lib test fails with following error.

<pre>
Traceback (most recent call last):
  File "/WEB-DOWN/hg-repo/hg-crew/hg", line 20, in <module>
    mercurial.dispatch.run()
  File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 20, in run
    sys.exit(dispatch(sys.argv[1:]))
  File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 29, in dispatch
    return _runcatch(u, args)
  File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 45, in _runcatch
    return _dispatch(ui, args)
  File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 367, in _dispatch
    ret = _runcommand(ui, options, cmd, d)
  File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 416, in _runcommand
    return checkargs()
  File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 376, in checkargs
    return cmdfunc()
  File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 361, in <lambda>
    d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
  File "/WEB-DOWN/hg-repo/hg-crew/mercurial/util.py", line 715, in check
    return func(*args, **kwargs)
  File "/REDMINE-1/hg-workdir/redmine-bb-all/lib/redmine/scm/adapters/mercurial/redminehelper.py", line 149, in rhlog
    if hg.util.version() >= '1.6':
AttributeError: 'module' object has no attribute 'version'

  1) Error:
test_nodes_in_branch(MercurialAdapterTest):
Redmine::Scm::Adapters::MercurialAdapter::HgCommandAborted: hg exited with non-zero status: 1
    lib/redmine/scm/adapters/mercurial_adapter.rb:306:in `hg'
    lib/redmine/scm/adapters/mercurial_adapter.rb:234:in `nodes_in_branch'
    test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb:311:in `test_nodes_in_branch'
    test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb:304:in `each'
    test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb:304:in `test_nodes_in_branch'
</pre>

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7650 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-25 06:10:12 +00:00
..
activity remove trailing white-spaces from lib/redmine/activity/fetcher.rb. 2011-09-01 02:08:09 +00:00
core_ext remove trailing white-spaces from lib/redmine/core_ext/string/conversions.rb. 2011-09-01 02:07:24 +00:00
default_data remove trailing white-spaces from lib/redmine/default_data/loader.rb. 2011-09-01 02:05:57 +00:00
export PDF: support textilized changeset comments (revision log) on issue (#69). 2011-07-02 13:54:27 +00:00
helpers Rails3: lib: helper: use html_safe for Gantt 2011-10-01 01:13:03 +00:00
scm scm: mercurial: drop supporting below Mercurial 1.1 (#9465) 2011-10-25 06:10:12 +00:00
views remove trailing white-spaces from lib/redmine/views/api_template_handler.rb. 2011-09-01 02:12:42 +00:00
wiki_formatting remove trailing white-spaces from lib/redmine/wiki_formatting/macros.rb. 2011-09-01 02:04:41 +00:00
about.rb Add plugins information to script/about (#3387). 2009-05-25 19:10:26 +00:00
access_control.rb remove trailing white-spaces from lib/redmine/access_control.rb 2011-09-20 02:45:43 +00:00
access_keys.rb remove trailing white-spaces from lib/redmine/access_keys.rb 2011-09-18 08:27:45 +00:00
activity.rb remove trailing white-spaces from lib/redmine/activity.rb. 2011-08-31 23:00:56 +00:00
ciphering.rb remove trailing white-spaces from lib/redmine/ciphering.rb. 2011-09-01 00:48:43 +00:00
codeset_util.rb scm: fix JRuby tests fail in unit changeset following test. 2011-06-09 01:30:05 +00:00
configuration.rb remove trailing white-spaces from lib/redmine/configuration.rb. 2011-09-01 00:48:02 +00:00
core_ext.rb Estimated time recognizes improved time formats (#1092). 2008-04-26 11:59:51 +00:00
custom_field_format.rb remove trailing white-spaces from lib/redmine/custom_field_format.rb 2011-09-20 02:45:15 +00:00
hook.rb fix typos in lib/redmine/hook.rb (#9291) 2011-09-21 09:47:31 +00:00
i18n.rb remove trailing white-spaces from lib/redmine/i18n.rb. 2011-09-01 00:45:09 +00:00
imap.rb remove trailing white-spaces from lib/redmine/imap.rb 2011-09-20 01:14:35 +00:00
info.rb Added Redmine::Info.issue to get links to specific issue numbers. 2009-05-30 23:00:22 +00:00
menu_manager.rb Rails3: use String#html_safe for render_menu_node() at lib/redmine/menu_manager.rb. 2011-08-20 06:52:25 +00:00
mime_type.rb remove trailing white-spaces from lib/redmine/mime_type.rb 2011-09-20 02:11:54 +00:00
notifiable.rb remove trailing white-spaces from lib/redmine/notifiable.rb 2011-09-20 02:47:52 +00:00
platform.rb remove trailing white-spaces from lib/redmine/platform.rb 2011-09-20 02:47:28 +00:00
plugin.rb remove trailing white-spaces from lib/redmine/plugin.rb 2011-09-20 02:43:47 +00:00
pop3.rb remove trailing white-spaces from lib/redmine/pop3.rb 2011-09-20 02:47:03 +00:00
safe_attributes.rb remove trailing white-spaces from lib/redmine/safe_attributes.rb 2011-09-20 02:44:44 +00:00
search.rb remove trailing white-spaces from lib/redmine/search.rb 2011-09-20 02:48:40 +00:00
syntax_highlighting.rb Update CodeRay version to 1.0 final (#4264). 2011-10-08 13:34:30 +00:00
themes.rb remove trailing white-spaces from lib/redmine/themes.rb 2011-09-20 02:48:17 +00:00
unified_diff.rb remove trailing white-spaces from lib/redmine/unified_diff.rb. 2011-09-01 00:44:26 +00:00
utils.rb remove trailing white-spaces from lib/redmine/utils.rb 2011-09-20 02:46:36 +00:00
version.rb remove trailing white-spaces from lib/redmine/version.rb. 2011-08-21 14:13:39 +00:00
wiki_formatting.rb remove trailing white-spaces from lib/redmine/wiki_formatting.rb. 2011-09-01 00:51:38 +00:00