Variable: package-vc-heuristic-alist
package-vc-heuristic-alist is an alias and customizable for
vc-clone-heuristic-alist, defined in package-vc.el.gz.
This variable is obsolete since 31.1; use vc-clone-heuristic-alist
instead.
Value
(("\\`https?://\\(?:\\(?:www\\.\\)?github\\.com/[._[:alnum:]-]+/[._[:alnum:]-]+\\|codeberg\\.org/[._[:alnum:]-]+/[._[:alnum:]-]+\\|\\(?:www\\.\\)?gitlab\\(?:\\.[[:alnum:]]+\\)+/[._[:alnum:]-]+/[._[:alnum:]-]+\\|git\\.sr\\.ht/~[._[:alnum:]-]+/[._[:alnum:]-]+\\|git\\.\\(?:s\\(?:avannah\\|v\\)\\)\\.\\(?:non\\)?gnu\\.org/\\(?:git\\|r\\)/[._[:alnum:]-]+/?\\)\\(?:/?\\|\\.git\\)\\'"
. Git)
("\\`https?://\\(?:hg\\.sr\\.ht/~[._[:alnum:]-]+/[._[:alnum:]-]+\\|hg\\.\\(?:s\\(?:avannah\\|v\\)\\)\\.\\(?:non\\)?gnu\\.org/hgweb/[._[:alnum:]-]+/?\\)\\'"
. Hg)
("\\`https?://bzr\\.\\(?:s\\(?:avannah\\|v\\)\\)\\.\\(?:non\\)?gnu\\.org/r/[._[:alnum:]-]+/?\\'"
. Bzr))
Documentation
Alist mapping repository URLs to VC backends.
vc-clone consults this alist to determine the VC
backend from the repository URL when you call it without
specifying a backend. Each element of the alist has the form
(URL-REGEXP . BACKEND). vc-clone will use BACKEND of
the first association for which the URL of the repository matches
the URL-REGEXP of the association.
Aliases
package-vc-heuristic-alist (obsolete since 31.1)