Mercurial > public > mercurial-scm > hg-stable
diff mercurial/commands.py @ 3344:d9b3d3d34749
ui.py: change the overlay from a dict to a SafeConfigParser.
This also fixes what's probably a bug - configitems was ignoring the overlay.
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Tue, 10 Oct 2006 18:43:20 -0300 |
parents | 80654c248793 |
children | a09be4317f9c |
line wrap: on
line diff
--- a/mercurial/commands.py Tue Oct 10 18:43:20 2006 -0300 +++ b/mercurial/commands.py Tue Oct 10 18:43:20 2006 -0300 @@ -2463,7 +2463,7 @@ " accesslog errorlog webdir_conf") for o in optlist.split(): if opts[o]: - ui.setconfig("web", o, opts[o]) + ui.setconfig("web", o, str(opts[o])) if repo is None and not ui.config("web", "webdir_conf"): raise hg.RepoError(_("There is no Mercurial repository here"