Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15396609
D8100.id18323.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
983 B
Referenced Files
None
Subscribers
None
D8100.id18323.diff
View Options
diff --git a/src/applications/diffusion/controller/DiffusionRepositoryController.php b/src/applications/diffusion/controller/DiffusionRepositoryController.php
--- a/src/applications/diffusion/controller/DiffusionRepositoryController.php
+++ b/src/applications/diffusion/controller/DiffusionRepositoryController.php
@@ -551,17 +551,17 @@
switch ($repository->getVersionControlSystem()) {
case PhabricatorRepositoryType::REPOSITORY_TYPE_GIT:
$command = csprintf(
- 'git clone %s',
+ 'git clone %R',
$uri);
break;
case PhabricatorRepositoryType::REPOSITORY_TYPE_MERCURIAL:
$command = csprintf(
- 'hg clone %s',
+ 'hg clone %R',
$uri);
break;
case PhabricatorRepositoryType::REPOSITORY_TYPE_SVN:
$command = csprintf(
- 'svn checkout %s %s',
+ 'svn checkout %R %R',
$uri,
$repository->getCloneName());
break;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mar 17 2025, 3:21 PM (6 w, 18 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7227440
Default Alt Text
D8100.id18323.diff (983 B)
Attached To
Mode
D8100: Use new "%R" escape for csprintf() to produce slightly nicer clone/checkout commands
Attached
Detach File
Event Timeline
Log In to Comment