With this commit, util.py lose 313 lines
Details
Details
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Event Timeline
Comment Actions
I think this is a reasonable approach. Do mark the copy though for blame preservation, and make sure to add utils/__init__.py and add mercurial.utils to the setup.py
Thanks!
Comment Actions
Should we alias the symbols into util to avoid the massive API break? We already re-export a number of symbols from util.
Comment Actions
Probably, but I'd also like to time-box how long we do those exports to a release cycle or two so we can get out from under the mess.
Comment Actions
I updated the series with copying util.py to utils/dateutil.py.
I've also added the deprecation warnings but I'm not sure how to add deprecation warnings for variables.
I also splitted the change as copying util.py made the change harder to read.
Abandoned in favor of" https://phab.mercurial-scm.org/D2056