BigW Consortium Gitlab

No need to rescue Rugged::ConfigError in RepositoryMirroring

Signed-off-by: 's avatarRémy Coutable <remy@rymai.me>
parent b5f899f6
......@@ -17,9 +17,6 @@ module RepositoryMirroring
raw_repository.rugged.config["remote.#{remote_name}.mirror"] = true
raw_repository.rugged.config["remote.#{remote_name}.prune"] = true
rescue Rugged::ConfigError
# Ignore multivar errors when the config already exist
# TODO: refactor/fix this
end
def add_remote_fetch_config(remote_name, refspec)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment