diff mercurial/commands.py @ 10993:c1b43d786889

hgweb: make baseui parameter non-positional
author Matt Mackall <mpm@selenic.com>
date Mon, 26 Apr 2010 11:03:40 -0500
parents 49a07f441496
children aca9a7cf2c9a
line wrap: on
line diff
--- a/mercurial/commands.py	Mon Apr 26 11:03:40 2010 -0500
+++ b/mercurial/commands.py	Mon Apr 26 11:03:40 2010 -0500
@@ -2939,7 +2939,7 @@
             repo.ui.setconfig("web", o, val)
 
     if opts.get('webdir_conf'):
-        app = hgwebdir_mod.hgwebdir(opts['webdir_conf'], ui)
+        app = hgwebdir_mod.hgwebdir(opts['webdir_conf'], baseui=ui)
     elif repo is not None:
         app = hgweb_mod.hgweb(hg.repository(repo.ui, repo.root))
     else: