mercurial/commands.py
changeset 46917 efadec3ea8e2
parent 46915 efc6f6a794bd
child 46930 0afe96e374a7
--- a/mercurial/commands.py	Tue Apr 13 15:32:59 2021 +0200
+++ b/mercurial/commands.py	Tue Apr 13 15:30:32 2021 +0200
@@ -5703,11 +5703,6 @@
     some_pushed = False
     result = 0
     for path in urlutil.get_push_paths(repo, ui, dests):
-        if not path:
-            raise error.ConfigError(
-                _(b'default repository not configured!'),
-                hint=_(b"see 'hg help config.paths'"),
-            )
         dest = path.pushloc or path.loc
         branches = (path.branch, opts.get(b'branch') or [])
         ui.status(_(b'pushing to %s\n') % urlutil.hidepassword(dest))