--- a/mercurial/dispatch.py Sun Apr 26 16:50:43 2009 -0500
+++ b/mercurial/dispatch.py Sun Apr 26 16:50:43 2009 -0500
@@ -269,7 +269,7 @@
lui = ui
if path:
try:
- lui = _ui.ui(parentui=ui)
+ lui = ui.copy()
lui.readconfig(os.path.join(path, ".hg", "hgrc"))
except IOError:
pass
@@ -278,7 +278,7 @@
rpath = _earlygetopt(["-R", "--repository", "--repo"], args)
if rpath:
path = lui.expandpath(rpath[-1])
- lui = _ui.ui(parentui=ui)
+ lui = ui.copy()
lui.readconfig(os.path.join(path, ".hg", "hgrc"))
extensions.loadall(lui)