[PATCH 1 of 2] Fix hgwebdir after 9858477ed74cce9dc8f4069f9453a1bda0e13ba1 broke it
benoit.boissinot at ens-lyon.org
Wed Aug 8 18:09:07 CDT 2007
On Wed, Aug 08, 2007 at 03:43:31PM -0700, Eric Hopper wrote:
> On Wed, Aug 08, 2007 at 11:00:39PM +0200, Benoit Boissinot wrote:
> > On Mon, Aug 06, 2007 at 10:22:39PM -0700, Eric M. Hopper wrote:
> > > So, unless there's a way to combine the config entries from two ui
> > > instances in a clean way, this is what I choose.
> > I'm pretty sure that
> > repo.ui.config(section, var, ui.config(section, var, default))
> > is equivalent to
> > repo.ui.config(section, var, default)
> > since the repo.ui object inherits the options from the global ui
> > object.
> Oh. *sigh* I should've tested that myself. I'll submit a new patch
> that kills all that extra obfuscation sometime soon.
I just pushed that.
Some tests would really help not breaking it in the future :)
More information about the Mercurial-devel