Ref T2231. Modernizes editing "Default Branch", "Track Only", and "Autoclose Only".
Details
Details
- Reviewers
btrahan chad - Maniphest Tasks
- Restricted Maniphest Task
- Commits
- Restricted Diffusion Commit
rPdcb0b1b64f73: Add support for branch-related configuration to new Repository edit workflow
See screenshots.
Diff Detail
Diff Detail
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Comment Actions
A whatevs inline - I think its cleaner as I suggest but the odds of needing the variables as you have them seems high so yeah.
src/applications/diffusion/controller/DiffusionRepositoryEditController.php | ||
---|---|---|
11–26 | you could just instantiate $has_branches with this switch statement |
Comment Actions
Yeah I'm assuming I'm going to end up with a couple more of those in a bit, but maybe not. I do use $is_svn in the next diff I think, not sure how busy it will be by the time I'm done.