changeset 46917 | efadec3ea8e2 |
parent 46916 | 7061eee84151 |
child 46928 | 93c224dc099b |
--- a/mercurial/utils/urlutil.py Tue Apr 13 15:32:59 2021 +0200 +++ b/mercurial/utils/urlutil.py Tue Apr 13 15:30:32 2021 +0200 @@ -453,7 +453,10 @@ elif b'default' in ui.paths: yield ui.paths[b'default'] else: - yield None + raise error.ConfigError( + _(b'default repository not configured!'), + hint=_(b"see 'hg help config.paths'"), + ) else: for dest in dests: yield ui.getpath(dest)