Page MenuHomePhabricator

D19596.id46851.diff
No OneTemporary

D19596.id46851.diff

diff --git a/src/applications/diffusion/protocol/DiffusionMercurialWireProtocol.php b/src/applications/diffusion/protocol/DiffusionMercurialWireProtocol.php
--- a/src/applications/diffusion/protocol/DiffusionMercurialWireProtocol.php
+++ b/src/applications/diffusion/protocol/DiffusionMercurialWireProtocol.php
@@ -23,12 +23,16 @@
'listkeys' => array('namespace'),
'lookup' => array('key'),
'pushkey' => array('namespace', 'key', 'old', 'new'),
+ 'protocaps' => array('caps'),
'stream_out' => array(''),
'unbundle' => array('heads'),
);
if (!isset($commands[$command])) {
- throw new Exception(pht("Unknown Mercurial command '%s!", $command));
+ throw new Exception(
+ pht(
+ 'Unknown Mercurial command "%s"!',
+ $command));
}
return $commands[$command];
@@ -49,6 +53,7 @@
'known' => true,
'listkeys' => true,
'lookup' => true,
+ 'protocaps' => true,
'stream_out' => true,
);

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 11, 8:16 AM (5 d, 3 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6718538
Default Alt Text
D19596.id46851.diff (1016 B)

Event Timeline