Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15395605
D19512.id46655.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D19512.id46655.diff
View Options
diff --git a/src/applications/diffusion/management/DiffusionRepositoryBasicsManagementPanel.php b/src/applications/diffusion/management/DiffusionRepositoryBasicsManagementPanel.php
--- a/src/applications/diffusion/management/DiffusionRepositoryBasicsManagementPanel.php
+++ b/src/applications/diffusion/management/DiffusionRepositoryBasicsManagementPanel.php
@@ -597,14 +597,18 @@
if ($message) {
switch ($message->getStatusCode()) {
case PhabricatorRepositoryStatusMessage::CODE_ERROR:
- $message = $message->getParameter('message');
+ $message_body = $message->getParameter('message');
$suggestion = null;
- if (preg_match('/Permission denied \(publickey\)./', $message)) {
+ if (preg_match('/Permission denied \(publickey\)./', $message_body)) {
$suggestion = pht(
'Public Key Error: This error usually indicates that the '.
'keypair you have configured does not have permission to '.
'access the repository.');
+ } else if (preg_match(
+ '/Command failed with error #137/', $message_body)) {
+ $suggestion = pht('Fetch was killed for taking too long at %s.',
+ phabricator_datetime($message->getEpoch(), $viewer));
}
$view->addItem(
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mar 17 2025, 8:20 AM (5 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7694338
Default Alt Text
D19512.id46655.diff (1 KB)
Attached To
Mode
D19512: Add more detail when failing to fetch a huge repository
Attached
Detach File
Event Timeline
Log In to Comment