diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-09-24 05:13:46 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-09-24 05:13:46 +0000 |
commit | 4c9bef2ace620ed7ee0b4db8274242a3c974b2af (patch) | |
tree | 4bdc98917b6597a4b150ec95de142ef84dad4f2f /app | |
parent | e5f22bd28ab4ceaebf591eac01e12ea3f5594ffc (diff) | |
download | redmine-4c9bef2ace620ed7ee0b4db8274242a3c974b2af.tar.gz redmine-4c9bef2ace620ed7ee0b4db8274242a3c974b2af.zip |
code cleanup: rubocop: fix Style/ParenthesesAroundCondition in app/models/repository/bazaar.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18512 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/models/repository/bazaar.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/repository/bazaar.rb b/app/models/repository/bazaar.rb index 8b07db34d..0955a0df2 100644 --- a/app/models/repository/bazaar.rb +++ b/app/models/repository/bazaar.rb @@ -96,7 +96,7 @@ class Repository::Bazaar < Repository if db_revision < scm_revision logger.debug "Fetching changesets for repository #{url}" if logger && logger.debug? identifier_from = db_revision + 1 - while (identifier_from <= scm_revision) + while identifier_from <= scm_revision # loads changesets by batches of 200 identifier_to = [identifier_from + 199, scm_revision].min revisions = scm.revisions('', identifier_to, identifier_from) |