diff --git a/src/applications/diffusion/engine/DiffusionCommitHookEngine.php b/src/applications/diffusion/engine/DiffusionCommitHookEngine.php index c75c2b1866..99087aceed 100644 --- a/src/applications/diffusion/engine/DiffusionCommitHookEngine.php +++ b/src/applications/diffusion/engine/DiffusionCommitHookEngine.php @@ -432,8 +432,6 @@ final class DiffusionCommitHookEngine extends Phobject { return $this->findMercurialChangegroupRefUpdates(); case 'prepushkey': return $this->findMercurialPushKeyRefUpdates(); - case 'pretag': - return $this->findMercurialPreTagRefUpdates(); default: throw new Exception(pht('Unrecognized hook "%s"!', $hook)); } @@ -693,10 +691,6 @@ final class DiffusionCommitHookEngine extends Phobject { return array($ref_update); } - private function findMercurialPreTagRefUpdates() { - return array(); - } - private function findMercurialContentUpdates(array $ref_updates) { // TODO: Implement. return array(); diff --git a/src/applications/repository/engine/PhabricatorRepositoryPullEngine.php b/src/applications/repository/engine/PhabricatorRepositoryPullEngine.php index 59be2016fd..b92696fde2 100644 --- a/src/applications/repository/engine/PhabricatorRepositoryPullEngine.php +++ b/src/applications/repository/engine/PhabricatorRepositoryPullEngine.php @@ -412,12 +412,6 @@ final class PhabricatorRepositoryPullEngine $repository->getCallsign(), 'prepushkey'); - // This one handles creating tags. - $data[] = csprintf( - 'pretag.phabricator = %s %s %s', - $bin, - $repository->getCallsign(), - 'pretag'); $data[] = null; $data = implode("\n", $data);