Slightly cleaner, and makes it easier to hook this in an extension.
Details
Details
- Reviewers
dlax - Group Reviewers
hg-reviewers - Commits
- rHG8dba17546016: rebase: extract _assignworkingcopy
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.
Rather than having this method spookily set self.wctx, why not make _assignworkingcopy _return_ the wctx (and rename it accordingly)?