##// END OF EJS Templates
patch: simplify Boolean expression slightly...
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
Martin Geisler -
r8526:f78eadbb default
Show More
Name Size Modified Last Commit Author
/ hgext
convert
highlight
inotify
zeroconf
__init__.py Loading ...
acl.py Loading ...
alias.py Loading ...
bookmarks.py Loading ...
bugzilla.py Loading ...
children.py Loading ...
churn.py Loading ...
color.py Loading ...
extdiff.py Loading ...
fetch.py Loading ...
gpg.py Loading ...
graphlog.py Loading ...
hgcia.py Loading ...
hgk.py Loading ...
interhg.py Loading ...
keyword.py Loading ...
mq.py Loading ...
notify.py Loading ...
pager.py Loading ...
parentrevspec.py Loading ...
patchbomb.py Loading ...
purge.py Loading ...
rebase.py Loading ...
record.py Loading ...
transplant.py Loading ...
win32mbcs.py Loading ...
win32text.py Loading ...