mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-22 14:52:40 +01:00
Improve "arc land" error message to mention SVN alternatives
Summary: Fixes T3813. This error message isn't very helpful in SVN; be more helpful. Test Plan: Ran `arc land` in a Subversion repository, got a reasonable error message. Reviewers: btrahan, asherkin Reviewed By: asherkin Subscribers: aran Maniphest Tasks: T3813 Differential Revision: https://secure.phabricator.com/D7275
This commit is contained in:
parent
ec948a276d
commit
7e901d8b4f
1 changed files with 3 additions and 1 deletions
|
@ -241,7 +241,9 @@ EOTEXT
|
|||
|
||||
if (!$this->isGit && !$this->isHg) {
|
||||
throw new ArcanistUsageException(
|
||||
pht("'arc land' only supports git and mercurial."));
|
||||
pht(
|
||||
"'arc land' only supports Git and Mercurial. For Subversion, try ".
|
||||
"'arc commit'."));
|
||||
}
|
||||
|
||||
if ($this->isGit) {
|
||||
|
|
Loading…
Reference in a new issue