ui.debug() does not return a value.
Details
Details
- Reviewers
krbullock - Group Reviewers
hg-reviewers - Commits
- rHG3bb1a647ab42: debug: remove an 'if ui.debug()' that is not doing anything
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
Comment Actions
I agree that's probably what was intended, but is it helpful to have it if it's never once been activated in 5 years? (added: 4bec77e62c00, 2012-12-13). (Ironically, if I ever actually ran this command I'd probably want it to have the behavior I'm deleting, but considering no one else has wanted it enough to fix the issue here, it feels too much like dead code/YAGNI for my tastes)