From c8b3f048f5a3b0cb31bbb2eea658e99673c3cf5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enrico=20Tr=C3=B6ger?= Date: Fri, 16 Oct 2015 14:09:13 +0200 Subject: [PATCH] Add repository URL to error message for non-existing repositories This makes it easier for the user to identify which repository does not exist or is not initialised, i.e. whether it is the main repository or the wiki repository and which clone URL was used to check. --- bin/github-backup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/github-backup b/bin/github-backup index ef44588..d3c776a 100755 --- a/bin/github-backup +++ b/bin/github-backup @@ -586,7 +586,7 @@ def fetch_repository(name, remote_url, local_dir, skip_existing=False): stderr=FNULL, shell=True) if initalized == 128: - log_info("Skipping {0} since it's not initalized".format(name)) + log_info("Skipping {0} ({1}) since it's not initalized".format(name, remote_url)) return if clone_exists: