Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13978502
D8654.id20518.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
D8654.id20518.diff
View Options
diff --git a/src/applications/diffusion/ssh/DiffusionSSHSubversionServeWorkflow.php b/src/applications/diffusion/ssh/DiffusionSSHSubversionServeWorkflow.php
--- a/src/applications/diffusion/ssh/DiffusionSSHSubversionServeWorkflow.php
+++ b/src/applications/diffusion/ssh/DiffusionSSHSubversionServeWorkflow.php
@@ -76,6 +76,8 @@
$message_raw = $message['raw'];
$struct = $message['structure'];
+ $this->log(print_r($struct, true));
+
if (!$this->inSeenGreeting) {
$this->inSeenGreeting = true;
@@ -121,6 +123,15 @@
$struct[1]['value'][4]['value']);
$message_raw = $proto->serializeStruct($struct);
break;
+ case 'add-file':
+ // ( add-file ( path dir-token file-token [ copy-path copy-rev ] ) )
+ if (isset($struct[1]['value'][3]['value'][0]['value'])) {
+ $copy_from = $struct[1]['value'][3]['value'][0]['value'];
+ $copy_from = $this->makeInternalURI($copy_from);
+ $struct[1]['value'][3]['value'][0]['value'] = $copy_from;
+ }
+ $message_raw = $proto->serializeStruct($struct);
+ break;
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Oct 19 2024, 11:29 PM (4 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6734286
Default Alt Text
D8654.id20518.diff (1 KB)
Attached To
Mode
D8654: Fix SVN translation of "add-file" protocol frames over SSH
Attached
Detach File
Event Timeline
Log In to Comment