diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 7b9f7ffb7..9394ab770 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1427,7 +1427,6 @@ Style/ParenthesesAroundCondition: - 'app/helpers/issues_helper.rb' - 'app/models/project.rb' - 'app/models/query.rb' - - 'app/models/repository/bazaar.rb' - 'app/models/repository/subversion.rb' - 'app/models/time_entry.rb' - 'app/models/wiki_page.rb' 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)