Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15482462
D9382.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
820 B
Referenced Files
None
Subscribers
None
D9382.id.diff
View Options
diff --git a/src/applications/differential/editor/DifferentialTransactionEditor.php b/src/applications/differential/editor/DifferentialTransactionEditor.php
--- a/src/applications/differential/editor/DifferentialTransactionEditor.php
+++ b/src/applications/differential/editor/DifferentialTransactionEditor.php
@@ -1531,7 +1531,10 @@
$path_prefix = null;
$local_root = $diff->getSourceControlPath();
- if ($local_root) {
+ $is_svn = $repository->getVersionControlSystem() ==
+ PhabricatorRepositoryType::REPOSITORY_TYPE_SVN;
+
+ if ($local_root && $is_svn) {
// We're in a working copy which supports subdirectory checkouts (e.g.,
// SVN) so we need to figure out what prefix we should add to each path
// (e.g., trunk/projects/example/) to get the absolute path from the
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Apr 10, 5:42 AM (6 d, 1 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7332339
Default Alt Text
D9382.id.diff (820 B)
Attached To
Mode
D9382: Only canonize paths if both sourceControlPath field is present and we're in SVN.
Attached
Detach File
Event Timeline
Log In to Comment