Page MenuHomePhabricator

D9382.id.diff
No OneTemporary

D9382.id.diff

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

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)

Event Timeline