Mercurial > public > mercurial-scm > hg
diff hgext/zeroconf/__init__.py @ 8191:35604226d712
hgweb: kill parentui references
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Sun, 26 Apr 2009 16:50:43 -0500 |
parents | 9b8ac5fb7760 |
children | 46293a0c7e9f |
line wrap: on
line diff
--- a/hgext/zeroconf/__init__.py Sun Apr 26 16:50:43 2009 -0500 +++ b/hgext/zeroconf/__init__.py Sun Apr 26 16:50:43 2009 -0500 @@ -112,7 +112,7 @@ class hgwebdirzc(hgwebdir_mod.hgwebdir): def run(self): for r, p in self.repos: - u = self.parentui.copy() + u = self.ui.copy() u.readconfig(os.path.join(p, '.hg', 'hgrc')) n = os.path.basename(r) publish(n, "hgweb", p, int(u.config("web", "port", 8000)))