parser.print_help()
sys.exit(1)
help_module.main(['--help'], baton)
+ # This is a gigantic hack to handle the case of AFS + Scripts style
+ # permissions, where we usually don't have access to the HOME
+ # directory. AFS will throttle you if you trigger too many
+ # lack of permissions, and since we run Git a lot and Git
+ # persistently stats the home directory, this can cause pretty
+ # big problems for our performance.
+ if not os.access(os.environ['HOME'], os.R_OK):
+ os.putenv('HOME', '/disabled')
# Dispatch commands
command_module = get_command(command_name)
try: