Mercurial > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
8190:9b8ac5fb7760 | 8191:35604226d712 |
---|---|
110 publish(name, desc, name, int(repo.ui.config("web", "port", 8000))) | 110 publish(name, desc, name, int(repo.ui.config("web", "port", 8000))) |
111 | 111 |
112 class hgwebdirzc(hgwebdir_mod.hgwebdir): | 112 class hgwebdirzc(hgwebdir_mod.hgwebdir): |
113 def run(self): | 113 def run(self): |
114 for r, p in self.repos: | 114 for r, p in self.repos: |
115 u = self.parentui.copy() | 115 u = self.ui.copy() |
116 u.readconfig(os.path.join(p, '.hg', 'hgrc')) | 116 u.readconfig(os.path.join(p, '.hg', 'hgrc')) |
117 n = os.path.basename(r) | 117 n = os.path.basename(r) |
118 publish(n, "hgweb", p, int(u.config("web", "port", 8000))) | 118 publish(n, "hgweb", p, int(u.config("web", "port", 8000))) |
119 return super(hgwebdirzc, self).run() | 119 return super(hgwebdirzc, self).run() |
120 | 120 |