##// END OF EJS Templates
check-code: Only call check-code if __name__ = "__main__"....
check-code: Only call check-code if __name__ = "__main__". This changeset moves the code that actually executes something to the "if __name__ = '__main__'" section to allow the file to be imported as a module.
Pierre-Yves David -
r10716:5f92bde7 default
Show More
Name Size Modified Last Commit Author
/ contrib
git-viz
hgsh
macosx
vim
win32
wix
bash_completion Loading ...
buildrpm Loading ...
check-code.py Loading ...
convert-repo Loading ...
dumprevlog Loading ...
hg-ssh Loading ...
hgk Loading ...
hgwebdir.fcgi Loading ...
hgwebdir.wsgi Loading ...
logo-droplets.svg Loading ...
memory.py Loading ...
mercurial.el Loading ...
mercurial.spec Loading ...
mergetools.hgrc Loading ...
mq.el Loading ...
perf.py Loading ...
pylintrc Loading ...
python-hook-examples.py Loading ...
rewrite-log Loading ...
sample.hgrc Loading ...
shrink-revlog.py Loading ...
simplemerge Loading ...
tcsh_completion Loading ...
tcsh_completion_build.sh Loading ...
tmplrewrite.py Loading ...
undumprevlog Loading ...
xml.rnc Loading ...
zsh_completion Loading ...