diff -r d2899a856f9f -r 9b8ac5fb7760 mercurial/hgweb/hgwebdir_mod.py --- a/mercurial/hgweb/hgwebdir_mod.py Sun Apr 26 16:50:43 2009 -0500 +++ b/mercurial/hgweb/hgwebdir_mod.py Sun Apr 26 16:50:43 2009 -0500 @@ -203,7 +203,7 @@ continue name = name[len(subdir):] - u = ui.ui(parentui=self.parentui) + u = self.parentui.copy() try: u.readconfig(os.path.join(path, '.hg', 'hgrc')) except Exception, e: