Page MenuHomePhabricator

D19596.diff
No OneTemporary

D19596.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
Tue, Nov 12, 6:40 PM (3 d, 16 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6718538
Default Alt Text
D19596.diff (1016 B)

Event Timeline