Patchwork D2099: infinitepush: delete the hack to load the extension after remotenames

login
register
mail settings
Submitter phabricator
Date March 30, 2018, 7:52 p.m.
Message ID <258926fccf21185a1fbb4404b1301f48@localhost.localdomain>
Download mbox | patch
Permalink /patch/29991/
State Not Applicable
Headers show

Comments

phabricator - March 30, 2018, 7:52 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGecdd8c3044de: infinitepush: delete the hack to load the extension after remotenames (authored by pulkit, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D2099?vs=5360&id=7414

REVISION DETAIL
  https://phab.mercurial-scm.org/D2099

AFFECTED FILES
  hgext/infinitepush/__init__.py

CHANGE DETAILS




To: pulkit, #hg-reviewers, indygreg
Cc: mercurial-devel

Patch

diff --git a/hgext/infinitepush/__init__.py b/hgext/infinitepush/__init__.py
--- 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):