[PATCH 1 of 5] resolve: accepts walkopts (-I and -X)

Simon Heimberg simohe at besonet.ch
Wed Aug 6 15:21:23 CDT 2008


Oo 2008-08-06 at 22:50 +0200, Martin Geisler wrote:

No, it is not. if foo is not boolean (example: foo="string") then "foo
== True" returns false. Like this I only count the options without
arguments (-I and -X are skipped).

> It should not be necessary to write "if foo == True", since writing
> "if foo" is equivalent.
> 
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel



More information about the Mercurial-devel mailing list