I'm about to write some code that wants to pass a memctx to
diffordiffstat, but this feels like a meritorious cleanup anyway,
since the first thing this method does is turn nodes into contexts,
and most callers have a context handy.
Details
Details
- Reviewers
indygreg - Group Reviewers
hg-reviewers - Commits
- rHG3b7aabd02e11: cleanup: avoid extra node/ctx conversions in logcmdutil.diffordiffstat
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.
Can avoid converting to nodes and back by changing this