equal
deleted
inserted
replaced
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 |