mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-31 19:47:14 +00:00
code cleanup: rubocop: fix Style/CommentAnnotation in lib/redmine/scm/adapters/cvs_adapter.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18491 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
9f26eac4f0
commit
188c560edc
@ -1180,13 +1180,6 @@ Style/ColonMethodCall:
|
||||
- 'test/unit/default_data_test.rb'
|
||||
- 'test/unit/lib/redmine/export/pdf_test.rb'
|
||||
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: Keywords.
|
||||
# Keywords: TODO, FIXME, OPTIMIZE, HACK, REVIEW
|
||||
Style/CommentAnnotation:
|
||||
Exclude:
|
||||
- 'lib/redmine/scm/adapters/cvs_adapter.rb'
|
||||
|
||||
Style/CommentedKeyword:
|
||||
Exclude:
|
||||
- 'app/models/repository/cvs.rb'
|
||||
|
||||
@ -248,10 +248,9 @@ module Redmine
|
||||
author_utf8 = /author: ([^;]+)/.match(line_utf8)[1]
|
||||
author = scm_iconv(options[:log_encoding], 'UTF-8', author_utf8)
|
||||
file_state = /state: ([^;]+)/.match(line)[1]
|
||||
# TODO:
|
||||
# linechanges only available in CVS....
|
||||
# maybe a feature our SVN implementation.
|
||||
# I'm sure, they are useful for stats or something else
|
||||
# TODO: linechanges only available in CVS....
|
||||
# maybe a feature our SVN implementation.
|
||||
# I'm sure, they are useful for stats or something else
|
||||
# linechanges =/lines: \+(\d+) -(\d+)/.match(line)
|
||||
# unless linechanges.nil?
|
||||
# version.line_plus = linechanges[1]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user