diff hgext/hgk.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 084957666642
children 9b12517a7081
line wrap: on
line diff