# HG changeset patch # User Alexis S. L. Carvalho # Date 1161115465 10800 # Node ID bf10cd8bc98183f7751901d28a3b5d39cade7092 # Parent 5ee5a0fec9040b7c74b0555cbc83fd03bd760671 use ui.readsections in the notify extension diff --git a/hgext/notify.py b/hgext/notify.py --- a/hgext/notify.py +++ b/hgext/notify.py @@ -102,7 +102,7 @@ class notifier(object): self.ui = ui cfg = self.ui.config('notify', 'config') if cfg: - self.ui.readconfig(cfg) + self.ui.readsections(cfg, 'usersubs', 'reposubs') self.repo = repo self.stripcount = int(self.ui.config('notify', 'strip', 0)) self.root = self.strip(self.repo.root)