D2990: infinitepush: replace `remotenames.hoist` with `remotenames.hoistedpeer`
pulkit (Pulkit Goyal)
phabricator at mercurial-scm.org
Sat Mar 31 10:22:45 UTC 2018
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
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
To: pulkit, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list