diff options
-rw-r--r-- | .rubocop_todo.yml | 7 | ||||
-rw-r--r-- | lib/redmine/scm/adapters/cvs_adapter.rb | 7 |
2 files changed, 3 insertions, 11 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 933a70744..d738e93f8 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -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' diff --git a/lib/redmine/scm/adapters/cvs_adapter.rb b/lib/redmine/scm/adapters/cvs_adapter.rb index 86fc9e6f7..ba6134a18 100644 --- a/lib/redmine/scm/adapters/cvs_adapter.rb +++ b/lib/redmine/scm/adapters/cvs_adapter.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] |