Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14015196
D9498.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
976 B
Referenced Files
None
Subscribers
None
D9498.diff
View Options
diff --git a/src/applications/owners/controller/PhabricatorOwnersEditController.php b/src/applications/owners/controller/PhabricatorOwnersEditController.php
--- a/src/applications/owners/controller/PhabricatorOwnersEditController.php
+++ b/src/applications/owners/controller/PhabricatorOwnersEditController.php
@@ -138,7 +138,18 @@
$default_paths = array();
foreach ($repos as $repo) {
- $default_path = $repo->getDetail('default-owners-path');
+ $subpath = $repo->getDetail('svn-subpath');
+ $default_owners_path = $repo->getDetail('default-owners-path');
+ if ($subpath) {
+ $default_path = '/' . ltrim($subpath, '/');
+ }
+ if ($default_owners_path) {
+ if ($subpath) {
+ $default_path .= ltrim($default_owners_path, '/');
+ } else {
+ $default_path = $default_owners_path;
+ }
+ }
if ($default_path) {
$default_paths[$repo->getPHID()] = $default_path;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 4, 3:24 PM (1 w, 6 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6732316
Default Alt Text
D9498.diff (976 B)
Attached To
Mode
D9498: Prepend the svn subpath to the path defaults for the path completer.
Attached
Detach File
Event Timeline
Log In to Comment