Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14026948
D19596.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1016 B
Referenced Files
None
Subscribers
None
D19596.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 9, 3:57 AM (1 w, 7 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6718538
Default Alt Text
D19596.diff (1016 B)
Attached To
Mode
D19596: Support Mercurial "protocaps" wire command
Attached
Detach File
Event Timeline
Log In to Comment