Patchwork D2990: infinitepush: replace `remotenames.hoist` with `remotenames.hoistedpeer`

login
register
mail settings
Submitter phabricator
Date March 31, 2018, 10:22 a.m.
Message ID <differential-rev-PHID-DREV-bjs5wvo6go7x5tidscrc-req@phab.mercurial-scm.org>
Download mbox | patch
Permalink /patch/30055/
State Superseded
Headers show

Comments

phabricator - March 31, 2018, 10:22 a.m.
pulkit created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  The remotenames.hoist config option was renamed to remotenames.hoistedpeer while
  moving to core as an extension. Let's start using the config option provided by
  the in-core extension.

REPOSITORY
  rHG Mercurial

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

AFFECTED FILES
  hgext/infinitepush/__init__.py

CHANGE DETAILS




To: pulkit, #hg-reviewers
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
@@ -233,7 +233,7 @@ 
     '''
 
     if common.isremotebooksenabled(ui):
-        hoist = ui.config('remotenames', 'hoist') + '/'
+        hoist = ui.config('remotenames', 'hoistedpeer') + '/'
         if remotebookmark.startswith(hoist):
             return remotebookmark[len(hoist):]
     return remotebookmark