changeset 3440:bf10cd8bc981

use ui.readsections in the notify extension
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Tue, 17 Oct 2006 17:04:25 -0300
parents 5ee5a0fec904
children e4452c3fa736
files hgext/notify.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/notify.py	Tue Oct 17 16:59:24 2006 -0300
+++ b/hgext/notify.py	Tue Oct 17 17:04:25 2006 -0300
@@ -102,7 +102,7 @@
         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)