mirror of
https://github.com/meineerde/redmine.git
synced 2025-10-17 17:01:01 +00:00
code cleanup: rubocop: fix Layout/LeadingCommentSpace in lib/redmine/scm/adapters/cvs_adapter.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18417 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
41b5a3c3a0
commit
d5764a2537
@ -319,7 +319,6 @@ Layout/LeadingCommentSpace:
|
||||
- 'app/controllers/repositories_controller.rb'
|
||||
- 'app/models/repository.rb'
|
||||
- 'lib/diff.rb'
|
||||
- 'lib/redmine/scm/adapters/cvs_adapter.rb'
|
||||
- 'lib/redmine/scm/adapters/git_adapter.rb'
|
||||
- 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
|
||||
- 'test/integration/api_test/issues_test.rb'
|
||||
|
||||
@ -182,9 +182,9 @@ module Redmine
|
||||
entry_name = normalize_path(File.basename($1))
|
||||
logger.debug("Path #{entry_path} <=> Name #{entry_name}")
|
||||
elsif /^head: (.+)$/ =~ line
|
||||
entry_headRev = $1 #unless entry.nil?
|
||||
entry_headRev = $1
|
||||
elsif /^symbolic names:/.match?(line)
|
||||
state = "symbolic" #unless entry.nil?
|
||||
state = "symbolic"
|
||||
elsif /^#{STARTLOG}/.match?(line)
|
||||
commit_log = ""
|
||||
state = "revision"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user