1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-20 20:40:56 +01:00

Fix wording of 'bin/remove' prompt for repositories

Summary: This UI recommends `bin/remove destroy X`, but should recommend `bin/remove destroy rX` (with `r`), because the remove script now takes any object monogram. The older script was repository-specific, so it only took the callsign.

Test Plan: {F166042}

Reviewers: putnam, chad

Reviewed By: chad

Subscribers: epriestley

Differential Revision: https://secure.phabricator.com/D9512
This commit is contained in:
epriestley 2014-06-13 07:06:53 -07:00
parent 3dc7876117
commit 993b73596a

View file

@ -29,8 +29,8 @@ final class DiffusionRepositoryEditDeleteController
'If you really want to delete the repository, run this command from '. 'If you really want to delete the repository, run this command from '.
'the command line:'); 'the command line:');
$command = csprintf( $command = csprintf(
'phabricator/ $ ./bin/remove destroy %s', 'phabricator/ $ ./bin/remove destroy %R',
$repository->getCallsign()); $repository->getMonogram());
$text_2 = pht('Repositories touch many objects and as such deletes are '. $text_2 = pht('Repositories touch many objects and as such deletes are '.
'prohibitively expensive to run from the web UI.'); 'prohibitively expensive to run from the web UI.');
$body = phutil_tag( $body = phutil_tag(