This is just a simple refactoring to make the next patch simpler. If
the dirstateguard constructor raises an exception, the finally-block
won't do anything anyway, so this is functionally equivalent (and
there is no except-block).
Details
Details
- Reviewers
- None
- Group Reviewers
hg-reviewers - Commits
- rHG5d286eb7009f: commit: move dirstateguard creation out of try-block
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.