[PATCH 09 of 10] demandimport: change default for level from None to -1

timeless timeless at gmail.com
Wed Dec 1 18:36:59 CST 2010


On Wed, Dec 1, 2010 at 11:35 PM, Dan Villiom Podlaski Christiansen
<danchr at gmail.com> wrote:
> # HG changeset patch
> # User Dan Villiom Podlaski Christiansen <danchr at gmail.com>
> # Date 1291236368 -3600
> # Node ID 832567e85b1e38f83903290fa075da342732213e
> # Parent  4a55efdf7020945136fc9e9bc46f7634b743f9b2
> demandimport: change default for level from None to -1
>
> The Python default for this function is -1, indicating both relative
> and absolute imports should be used.[1] Previously, we relied on the
> Python VM not passing level when such semantics were
> requisted.

requested ;-)


More information about the Mercurial-devel mailing list