diff mercurial/hgweb/hgwebdir_mod.py @ 8190:9b8ac5fb7760

ui: kill most users of parentui name and arg, replace with .copy()
author Matt Mackall <mpm@selenic.com>
date Sun, 26 Apr 2009 16:50:43 -0500
parents 6fc30fe7f3e7
children 35604226d712
line wrap: on
line diff
--- 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: