Skip to content
Snippets Groups Projects
Commit b504ff81 authored by Gregory Szorc's avatar Gregory Szorc
Browse files

localrepo: validate directories before creating any

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.

Differential Revision: https://phab.mercurial-scm.org/D4706
parent d3e761f9
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment