diff mercurial/pathencode.c @ 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 822f46b80fa9
children 673ba59669b5
line wrap: on
line diff