##// 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.

File last commit:

r406:d8abb687 default
r10716:5f92bde7 default
Show More
git-rev-list
5 lines | 69 B | text/plain | TextLexer
mpm@selenic.com
[PATCH] Using monotone-viz/git-viz with mercurial...
r406 #!/bin/sh
op=`basename $0 | sed -e 's/^git-//'`
exec hgit $op "$@"