diff mercurial/config.py @ 26820:71d5238f92e9 stable

ui: support paths.default-push without paths.default set (issue4914) This behavior regressed as part of the paths API refactoring. Previous behavior was to accept "default-push" without "default" defined. Current behavior aborts with "default repository not configured!." This patch restores the old behavior and adds test coverage for the scenario, which was absent before.
author Gregory Szorc <gregory.szorc@gmail.com>
date Thu, 22 Oct 2015 18:59:03 +0000
parents a027a0813b44
children e70c97cc9243
line wrap: on
line diff