config: Write proper info message about root of URL-less repos
Instead of flooding the log with misleading error messages, always print a note which path is used as root for repositories that have no URLs. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
parent
96034e2d9a
commit
bb853cec02
@ -399,9 +399,12 @@ class ConfigStatic(Config):
|
||||
'--show-toplevel'],
|
||||
cwd=path,
|
||||
env=self.environ,
|
||||
fail=False)
|
||||
fail=False,
|
||||
liveupdate=False)
|
||||
if ret == 0:
|
||||
path = output.strip()
|
||||
logging.info('Using %s as root for repository %s', path,
|
||||
name)
|
||||
|
||||
url = path
|
||||
rep = Repo(url=url,
|
||||
|
Loading…
Reference in New Issue
Block a user