There is no meaningful change in behavior because wdir would
already exist in the case where we raised RepoError. But I think
the code is easier to read if we do all validation first then
take actions with side-effects.
Details
Details
- Reviewers
- None
- Group Reviewers
hg-reviewers - Commits
- rHGb504ff813c4f: localrepo: validate directories before creating any
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.