Page MenuHomePhabricator

D9498.id.diff
No OneTemporary

D9498.id.diff

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

Mime Type
text/plain
Expires
Sat, Oct 19, 1:21 PM (4 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6732316
Default Alt Text
D9498.id.diff (976 B)

Event Timeline