diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-11-08 12:34:09 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-11-08 12:34:09 +0000 |
commit | 7d03976e6a2aea66088395accaff4b58cb7f093f (patch) | |
tree | 05346188d19b79f23b1d4316ae56034bdf591db1 /app/models | |
parent | 08918ce867f79347adfddbe41369674904ce7fbb (diff) | |
download | redmine-7d03976e6a2aea66088395accaff4b58cb7f093f.tar.gz redmine-7d03976e6a2aea66088395accaff4b58cb7f093f.zip |
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
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/repository/mercurial.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/repository/mercurial.rb b/app/models/repository/mercurial.rb index 69f7bebdc..abe0aceda 100644 --- a/app/models/repository/mercurial.rb +++ b/app/models/repository/mercurial.rb @@ -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 <= ?" |