1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-27 02:41:15 +00:00

cleanup: rubocop: fix Layout/SpaceInsideParens in app/models/repository/mercurial.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@18955 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2019-11-08 12:34:09 +00:00
parent 08918ce867
commit 7d03976e6a
2 changed files with 1 additions and 2 deletions

View File

@ -322,7 +322,6 @@ Layout/SpaceInsideParens:
- 'app/helpers/issues_helper.rb'
- 'app/models/auth_source_ldap.rb'
- 'app/models/repository/cvs.rb'
- 'app/models/repository/mercurial.rb'
- 'lib/redmine/scm/adapters/abstract_adapter.rb'
- 'lib/redmine/scm/adapters/cvs_adapter.rb'
- 'lib/redmine/scm/adapters/git_adapter.rb'

View File

@ -159,7 +159,7 @@ class Repository::Mercurial < Repository
# But, it is very heavy.
# Mercurial does not treat directory.
# So, "hg log DIR" is very heavy.
branch_limit = path.blank? ? limit : ( limit * 5 )
branch_limit = path.blank? ? limit : (limit * 5)
args << nodes_in_branch(rev, branch_limit)
elsif last = rev ? find_changeset_by_name(tag_scmid(rev) || rev) : nil
cond << "#{Changeset.table_name}.id <= ?"