1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-25 16:22:42 +01:00

Mark arc svn-hook-pre-commit for subversion only

Summary: It doesn't make any sense to run this command on any other VCS.

Test Plan: Ran `arc svn-hook-pre-commit` and hit the usage exception.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin, epriestley

Differential Revision: https://secure.phabricator.com/D11623
This commit is contained in:
Joshua Spence 2015-02-04 06:53:41 +11:00
parent 24ab7b7f38
commit 6bca7f0146

View file

@ -36,6 +36,10 @@ EOTEXT
return false;
}
public function getSupportedRevisionControlSystems() {
return array('svn');
}
public function run() {
$svnargs = $this->getArgument('svnargs');
$repository = $svnargs[0];