The new resourceutil module is lower in the dependency graph, so we
can depend directly on it and won't have to depend on the util module
to inject the datapath.
Details
Details
- Reviewers
indygreg - Group Reviewers
hg-reviewers - Commits
- rHGf0bee3b1b847: i18n: get datapath directly from resourceutil
rHG3ba0aae3b2f2: i18n: get datapath directly from resourceutil
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
mercurial/i18n.py | ||
---|---|---|
57 | I'm not thrilled about the use of global variables here: I feel like the locale directory and related functionality should be associated with a ui instance or something. But this was an existing can of worms and you didn't make anything worse. So this is fine for now. |
I'm not thrilled about the use of global variables here: I feel like the locale directory and related functionality should be associated with a ui instance or something. But this was an existing can of worms and you didn't make anything worse. So this is fine for now.