Mercurial > hg
comparison contrib/hgk @ 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 | ce8dd4fd2d5d |
children |
comparison
equal
deleted
inserted
replaced
27562:cb0cfa9fd340 | 27563:56c2caffde3d |
---|