##// 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
/ contrib
git-viz
hgsh
macosx
vim
win32
bash_completion Loading ...
buildrpm Loading ...
convert-repo Loading ...
dumprevlog Loading ...
hg-relink Loading ...
hg-ssh Loading ...
hgdiff Loading ...
hgk Loading ...
hgwebdir.fcgi Loading ...
hgwebdir.wsgi Loading ...
logo-droplets.svg Loading ...
mercurial.el Loading ...
mercurial.spec Loading ...
mergetools.hgrc Loading ...
mq.el Loading ...
perf.py Loading ...
python-hook-examples.py Loading ...
rewrite-log Loading ...
sample.hgrc Loading ...
simplemerge Loading ...
tcsh_completion Loading ...
tcsh_completion_build.sh Loading ...
tmplrewrite.py Loading ...
undumprevlog Loading ...
zsh_completion Loading ...