On repo creation, create leaf-dirs leading up to project dir
Created originally on Bitbucket by garen (Garen Parham)
When trying to create a new hg repo at "U:\vcs\hg\w7dev", I get a Traceback dialog which reads:
... WindowsError: [Error 3] The system cannot find the path specified: 'U:\vcs\hg\w7dev'
Work-around is simple of course, just had to create \vcs\hg first.
Would imagine the fix for this is pretty straightforward, if the dir doesn't exist, call os.mkdirs(). Alternatively, prompt user if they want to create them if they don't exist, etc.