comparison mercurial/commands.py @ 27563:56c2caffde3d

paths: do not process default-push as pushurl of default path (issue5000) It didn't work because "default-push" and "default" are independent named items. Without this patch, "hg push default" would push to "default-push" because paths["default"].pushloc was overwritten by "default-push". Also, we shouldn't ban a user from doing "hg push default-push" so long as "default-push" item is defined, not "default:pushurl". Otherwise, he would be confused by missing "default-push" path. Tests are included in a patch for stable branch.
author Yuya Nishihara <yuya@tcha.org>
date Sat, 26 Dec 2015 16:06:12 +0900
parents cb0cfa9fd340
children 34b01a51bd42
comparison
equal deleted inserted replaced
27562:cb0cfa9fd340 27563:56c2caffde3d