Page MenuHomePhabricator

D8654.id20544.diff
No OneTemporary

D8654.id20544.diff

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
@@ -121,6 +121,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

Mime Type
text/plain
Expires
Oct 20 2024, 8:01 AM (4 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6735760
Default Alt Text
D8654.id20544.diff (974 B)

Event Timeline