R d dl mZ d dlZd dlZd dlZd dlZd dlZd dl Zd dl mZ d dlm Z d dlmZmZ d dlmZmZmZ d dlmZ d dlmZmZmZmZmZmZmZ ej j Z ej j! Z! ej" e# Z$ ej% d Z& ej% d Z' ej% dej( Z)ddZ* G d de Z+ ej, e+ dS ) )annotationsN)replace)Any) BadCommandInstallationError) HiddenTextdisplay_pathhide_url)make_command)AuthInfoRemoteNotFoundErrorRemoteNotValidError RevOptionsVersionControl(find_path_to_project_root_from_repo_rootvcsz(^git version (\d+)\.(\d+)(?:\.(\d+))?.*$z^[a-fA-F0-9]{40}$a/ ^ # Optional user, e.g. 'git@' (\w+@)? # Server, e.g. 'github.com'. ([^/:]+): # The server-side path. e.g. 'user/project.git'. Must start with an # alphanumeric character so as not to be confusable with a Windows paths # like 'C:/foo/bar' or 'C:\foo\bar'. (\w[^:]*) $shastrreturnboolc P t t | S N)r HASH_REGEXmatch)r s g/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib/python3.11/site-packages/pip/_internal/vcs/git.pylooks_like_hashr : s %%&&&