hgext/__init__.py
author Martin Geisler <mg@lazybytes.net>
Wed, 20 May 2009 00:43:23 +0200
changeset 8526 f78eadbb5769
parent 1360 7d439981bec4
child 28450 155e3308289c
permissions -rw-r--r--
patch: simplify Boolean expression slightly The context variable is either True, False or None. Abbreviate it as C and we get the following truth table where the second column is the original expression and the third column is the new expression: C | C or C == None | C is not False True | True | True False | False | False None | True | True
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1360
7d439981bec4 Re-add hgext/__init__.py
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
     1
# placeholder