Commit 3b7f3b5e authored by Harsh Chouraria's avatar Harsh Chouraria Committed by Michael Kozono

Add message for repository backup skip

The backup procedure for repositories will print `[SKIPPED]` for any
repository it finds empty, or non-existent.

To an uninformed user reading just the terminal, the reason for the skip
isn't clear, and it may also be alarming to them.

This commonly applies to the .wiki or .design repos.

This change alters the message to suggest the repository was empty.
parent 605de202
---
title: Add message for repository backup skip
merge_request: 54285
author:
type: other
......@@ -244,7 +244,7 @@ module Backup
progress.puts " * #{display_repo_path} ... "
if repository.empty?
progress.puts " * #{display_repo_path} ... " + "[SKIPPED]".color(:cyan)
progress.puts " * #{display_repo_path} ... " + "[EMPTY] [SKIPPED]".color(:cyan)
return
end
......
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