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
--- 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