summaryrefslogtreecommitdiffstats
path: root/lib/redmine/scm
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2024-08-12 08:11:12 +0000
committerGo MAEDA <maeda@farend.jp>2024-08-12 08:11:12 +0000
commitb224d878c33d24df81650667d18035652a18911f (patch)
treef2891a1e1a9ac12258b82914842b5a06c7923edf /lib/redmine/scm
parent79873291d724025b2082f1d42cabc5c4504c5e0e (diff)
downloadredmine-b224d878c33d24df81650667d18035652a18911f.tar.gz
redmine-b224d878c33d24df81650667d18035652a18911f.zip
Remove commented-out dead code and fix RuboCop offense Layout/LeadingCommentSpace (#39887).
git-svn-id: https://svn.redmine.org/redmine/trunk@22952 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine/scm')
-rw-r--r--lib/redmine/scm/adapters/cvs_adapter.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/redmine/scm/adapters/cvs_adapter.rb b/lib/redmine/scm/adapters/cvs_adapter.rb
index 2f157d10b..92bae7a06 100644
--- a/lib/redmine/scm/adapters/cvs_adapter.rb
+++ b/lib/redmine/scm/adapters/cvs_adapter.rb
@@ -113,7 +113,6 @@ module Redmine
Entry.new(
{
:name => scm_iconv('UTF-8', @path_encoding, fields[-5]),
- #:path => fields[-4].include?(path)?fields[-4]:(path + "/"+ fields[-4]),
:path => scm_iconv('UTF-8', @path_encoding, "#{path_locale}/#{fields[-5]}"),
:kind => 'file',
:size => nil,