# HG changeset patch # User Pulkit Goyal <7895pulkit@gmail.com> # Date 1518089964 -19800 # Node ID ecdd8c3044de85e3dfc3eaeb441959f65503cbd7 # Parent b377b7dfe68256323d287cbbb20304478049fc02 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 diff -r b377b7dfe682 -r ecdd8c3044de hgext/infinitepush/__init__.py --- a/hgext/infinitepush/__init__.py Sat Feb 03 17:59:49 2018 +0530 +++ b/hgext/infinitepush/__init__.py Thu Feb 08 17:09:24 2018 +0530 @@ -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):