Differential D14241 Diff 34410 src/applications/diffusion/ssh/DiffusionMercurialServeSSHWorkflow.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diffusion/ssh/DiffusionMercurialServeSSHWorkflow.php
| Show First 20 Lines • Show All 101 Lines • ▼ Show 20 Lines | if ($command == 'batch') { | ||||
| $is_readonly = true; | $is_readonly = true; | ||||
| } | } | ||||
| if (!$is_readonly) { | if (!$is_readonly) { | ||||
| $this->requireWriteAccess(); | $this->requireWriteAccess(); | ||||
| $this->didSeeWrite = true; | $this->didSeeWrite = true; | ||||
| } | } | ||||
| $raw_message = $message['raw']; | |||||
| if ($command == 'capabilities') { | |||||
| $raw_message = DiffusionMercurialWireProtocol::filterBundle2Capability( | |||||
| $raw_message); | |||||
| } | |||||
| // If we're good, return the raw message data. | // If we're good, return the raw message data. | ||||
| return $message['raw']; | return $raw_message; | ||||
| } | } | ||||
| } | } | ||||