newid was needlessly further away from where its intended to be used
leading to bad readability. This commit moves it to address the same. The end
goal is to remove the redundant commit in the amend code path and this commit
takes care of cleaning up some unrelated code before that change.
Details
Details
- Reviewers
- None
- Group Reviewers
hg-reviewers - Commits
- rHGda13616d1a92: amend: moving first assignment of newid closer to its use
rHGa352ca63dc79: amend: moving first assignment of newid closer to its use
ran the test suite
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Event Timeline
Comment Actions
moving first use of newid closer to its use in amend
Changing this to "moving first *assignment* of..." in flight so it sounds less confusing.
Also, "cmdutil" is so large it doesn't add much, so I'm also replacing "cmdutil" by "amend" and dropping "in amend" in the summary lines.