summaryrefslogtreecommitdiffstats
path: root/app/models/repository
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-11-23 15:11:28 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-11-23 15:11:28 +0000
commitcff0fb1855ace5fbca5c41d9df7d8497d9d3b7dd (patch)
tree94bad8c454fe23bd8b22067bc968cfe0c32de2cb /app/models/repository
parentafb40e740f2307b0cc10877d34e3e31c5c03f108 (diff)
downloadredmine-cff0fb1855ace5fbca5c41d9df7d8497d9d3b7dd.tar.gz
redmine-cff0fb1855ace5fbca5c41d9df7d8497d9d3b7dd.zip
cleanup: rubocop: fix Layout/EmptyLineAfterGuardClause in app/models/repository/subversion.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19214 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/repository')
-rw-r--r--app/models/repository/subversion.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/repository/subversion.rb b/app/models/repository/subversion.rb
index 0f01f863f..f6e37fbd6 100644
--- a/app/models/repository/subversion.rb
+++ b/app/models/repository/subversion.rb
@@ -91,6 +91,7 @@ class Repository::Subversion < Repository
def load_entries_changesets(entries)
return unless entries
+
entries_with_identifier =
entries.select {|entry| entry.lastrev && entry.lastrev.identifier.present?}
identifiers = entries_with_identifier.map {|entry| entry.lastrev.identifier}.compact.uniq