# HG changeset patch # User Jun Wu # Date 1480973795 0 # Node ID cfb227016d012ccee8107387dd8739dcff4cc13f # Parent 91db2aa0edfe5e1939a8421e2e3644d7391073db chgserver: call "load" for new ui objects After d83ca854fa21, we need to call "ui.load" explicitly to load config files. diff -r 91db2aa0edfe -r cfb227016d01 mercurial/chgserver.py --- a/mercurial/chgserver.py Sun Dec 04 23:22:34 2016 +0530 +++ b/mercurial/chgserver.py Mon Dec 05 21:36:35 2016 +0000 @@ -255,7 +255,7 @@ def _loadnewui(srcui, args): from . import dispatch # avoid cycle - newui = srcui.__class__() + newui = srcui.__class__.load() for a in ['fin', 'fout', 'ferr', 'environ']: setattr(newui, a, getattr(srcui, a)) if util.safehasattr(srcui, '_csystem'):