[PATCH 2 of 2] revset: make optimizer use the new minusset

Siddharth Agarwal sid at less-broken.com
Thu Feb 11 18:20:35 UTC 2016


On 2/11/16 10:14, Martin von Zweigbergk wrote:
> Also, please rename either the class or the function, so they're not
> both called "minusset". I don't even know which one Python will pick
> when they share a name.

All Python names within a given scope share the same namespace, so in 
this case whichever definition comes later wins.

> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel




More information about the Mercurial-devel mailing list