]> source.dussan.org Git - redmine.git/commit
Merged r13831 from trunk to 2.6-stable.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 4 Jan 2015 02:57:19 +0000 (02:57 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 4 Jan 2015 02:57:19 +0000 (02:57 +0000)
commit1bceed692253121d2c62d67d360adc59c4191578
tree26bbc8bb3e737c669f59a6278a0ef6caa7b69653
parent60347573124923776810204fd6df910eacc230f5
Merged r13831 from trunk to 2.6-stable.

fix Ruby 2.2 warning at lib/redmine/scm/adapters/cvs_adapter.rb.

On ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-linux]:

<pre>
lib/redmine/scm/adapters/cvs_adapter.rb:342:
  warning: Comparable#== will no more rescue exceptions of #<=> in the next release.
lib/redmine/scm/adapters/cvs_adapter.rb:342:
  warning: Return nil in #<=> if the comparison is inappropriate or avoid such comparison.
</pre>

git-svn-id: http://svn.redmine.org/redmine/branches/2.6-stable@13834 e93f8b46-1217-0410-a6f0-8f06a7374b81
lib/redmine/scm/adapters/cvs_adapter.rb