diff --git a/src/applications/diffusion/controller/DiffusionRepositoryController.php b/src/applications/diffusion/controller/DiffusionRepositoryController.php index 9aad7f1c5b..45fbf5c717 100644 --- a/src/applications/diffusion/controller/DiffusionRepositoryController.php +++ b/src/applications/diffusion/controller/DiffusionRepositoryController.php @@ -671,7 +671,16 @@ final class DiffusionRepositoryController extends DiffusionController { require_celerity_resource('diffusion-icons-css'); - $display = (string)csprintf('%R', (string)$uri->getDisplayURI()); + if ($repository->isSVN()) { + $display = csprintf( + 'svn checkout %R %R', + (string)$uri->getDisplayURI(), + $repository->getCloneName()); + } else { + $display = csprintf('%R', (string)$uri->getDisplayURI()); + } + + $display = (string)$display; $input = javelin_tag( 'input',