Page MenuHomePhabricator
Diviner Phabricator Tech Docs PhabricatorRepositoryEngine

abstract class PhabricatorRepositoryEngine
Phabricator Technical Documentation (Repositories)

This class is not documented.

Tasks

Configuring Repository Engines

Internals

  • protected function log($pattern)

Other Methods

  • public function getViewer()
  • protected function newRepositoryLock($repository, $lock_key, $lock_device_only)
  • protected function verifyGitOrigin($repository) — Verify that the "origin" remote exists, and points at the correct URI.

Methods

public function setRepository($repository)

This method is not documented.
Parameters
PhabricatorRepository$repository
Return
wild

protected function getRepository()

This method is not documented.
Return
wild

public function setVerbose($verbose)

This method is not documented.
Parameters
$verbose
Return
wild

public function getVerbose()

This method is not documented.
Return
wild

public function getViewer()

This method is not documented.
Return
wild

protected function newRepositoryLock($repository, $lock_key, $lock_device_only)

This method is not documented.
Parameters
PhabricatorRepository$repository
$lock_key
$lock_device_only
Return
wild

protected function verifyGitOrigin($repository)

Verify that the "origin" remote exists, and points at the correct URI.

This catches or corrects some types of misconfiguration, and also repairs an issue where Git 1.7.1 does not create an "origin" for --bare clones. See T4041.

Parameters
PhabricatorRepository$repositoryRepository to verify.
Return
void

protected function log($pattern)

This method is not documented.
Parameters
$pattern
Return
wild