D1158: test-show: make it compatible with chg

quark (Jun Wu) phabricator at mercurial-scm.org
Wed Oct 18 08:46:48 EDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rHG110040e715c9: test-show: make it compatible with chg (authored by quark, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D1158?vs=2933&id=2968

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

AFFECTED FILES
  mercurial/chgserver.py

CHANGE DETAILS

diff --git a/mercurial/chgserver.py b/mercurial/chgserver.py
--- a/mercurial/chgserver.py
+++ b/mercurial/chgserver.py
@@ -73,6 +73,10 @@
     'extensions',
 ]
 
+_configsectionitems = [
+    ('commands', 'show.aliasprefix'), # show.py reads it in extsetup
+]
+
 # sensitive environment variables affecting confighash
 _envre = re.compile(r'''\A(?:
                     CHGHG
@@ -101,6 +105,8 @@
     sectionitems = []
     for section in _configsections:
         sectionitems.append(ui.configitems(section))
+    for section, item in _configsectionitems:
+        sectionitems.append(ui.config(section, item))
     sectionhash = _hashlist(sectionitems)
     envitems = [(k, v) for k, v in encoding.environ.iteritems()
                 if _envre.match(k)]



To: quark, #hg-reviewers, yuja
Cc: mercurial-devel


More information about the Mercurial-devel mailing list