changeset 37234:15691d71da23

infinitepush: replace `remotenames.hoist` with `remotenames.hoistedpeer` 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. Differential Revision: https://phab.mercurial-scm.org/D2990
author Pulkit Goyal <7895pulkit@gmail.com>
date Sat, 31 Mar 2018 14:31:29 +0530
parents dc4bb1422f2b
children 912f4f64047f
files hgext/infinitepush/__init__.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/infinitepush/__init__.py	Sun Mar 18 16:57:07 2018 +0900
+++ b/hgext/infinitepush/__init__.py	Sat Mar 31 14:31:29 2018 +0530
@@ -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