Module ImportFrom alias alias alias alias alias alias alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias Assign NameStore Call AttributeLoad NameLoad attr Str FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str Str keyword AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr Num Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad With Call NameLoad keyword NameLoad keyword NameLoad body Expr Call AttributeLoad NameLoad attr ListLoad Str Str Expr Call AttributeLoad NameLoad attr ListLoad Str Str Str Str Expr Call AttributeLoad NameLoad attr ListLoad Str Str Str Str Expr Call AttributeLoad NameLoad attr ListLoad Str Str Str Expr Call AttributeLoad NameLoad attr ListLoad Str Str Str Str Expr Yield Call NameLoad keyword NameLoad keyword NameLoad Expr Call NameLoad NameLoad decorator_list NameLoad
N/A __future__ absolute_import division generators nested_scopes print_function unicode_literals with_statement N/A re N/A subprocess contextlib contextmanager pants.base.revision Revision pants.scm.git Git pants.util.contextutil environment_as pants.util.dirutil safe_mkdtemp safe_rmtree N/A MIN_REQUIRED_GIT_VERSION N/A N/A Revision semver 1.7.10 git_version N/A N/A N/A N/A N/A Get a Version() based on installed command-line git's version N/A process N/A N/A subprocess Popen N/A git --version stdout N/A subprocess PIPE N/A N/A stdout stderr N/A N/A process communicate N/A N/A N/A process returncode 0 Failed to determine git version. N/A matches N/A N/A re search \s(\d+(?:\.\d+)*)[\s\.] stdout N/A N/A N/A Revision lenient N/A N/A matches group 1 N/A initialize_repo N/A N/A worktree N/A N/A N/A Initialize git repository for the given worktree. N/A gitdir N/A safe_mkdtemp N/A N/A environment_as GIT_DIR gitdir GIT_WORK_TREE worktree N/A N/A N/A N/A subprocess check_call N/A git init N/A N/A N/A subprocess check_call N/A git config user.email you@example.com N/A N/A N/A subprocess check_call N/A git config user.name Your Name N/A N/A N/A subprocess check_call N/A git add . N/A N/A N/A subprocess check_call N/A git commit -am Add project files. N/A N/A N/A Git gitdir gitdir worktree worktree N/A N/A safe_rmtree gitdir N/A contextmanager