mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-22 06:42:41 +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:
parent
24ab7b7f38
commit
6bca7f0146
1 changed files with 4 additions and 0 deletions
|
@ -36,6 +36,10 @@ EOTEXT
|
|||
return false;
|
||||
}
|
||||
|
||||
public function getSupportedRevisionControlSystems() {
|
||||
return array('svn');
|
||||
}
|
||||
|
||||
public function run() {
|
||||
$svnargs = $this->getArgument('svnargs');
|
||||
$repository = $svnargs[0];
|
||||
|
|
Loading…
Reference in a new issue