mirror of
https://github.com/josegonzalez/python-github-backup.git
synced 2025-12-05 08:08:02 +01:00
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.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user