Mercurial > hg > mercurial-source
changeset 37976:ecdd8c3044de
infinitepush: delete the hack to load the extension after remotenames
The remotenames extension which circumvents the default push implementation
lives outside the core, so let's delete logic related to loading of extension on
the basis of remotenames ext.
Differential Revision: https://phab.mercurial-scm.org/D2099
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Thu, 08 Feb 2018 17:09:24 +0530 |
parents | b377b7dfe682 |
children | 2fdc827f76ec |
files | hgext/infinitepush/__init__.py |
diffstat | 1 files changed, 0 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/infinitepush/__init__.py +++ b/hgext/infinitepush/__init__.py @@ -286,14 +286,6 @@ if _isserver(ui) and repo.local(): repo.bundlestore = bundlestore(repo) -def uisetup(ui): - # remotenames circumvents the default push implementation entirely, so make - # sure we load after it so that we wrap it. - order = extensions._order - order.remove('infinitepush') - order.append('infinitepush') - extensions._order = order - def extsetup(ui): commonsetup(ui) if _isserver(ui):