git: 9front

Download patch

ref: 4a4666660cfac1a03d1c19f82d8fd8f121540cbf
parent: df6eaefff95476bf7bdd85619a78d875ad34d252
author: mischief <mischief@offblast.org>
date: Mon Sep 15 09:42:54 EDT 2014

hg: make intermediate directories like newer hg does

--- a/sys/lib/python/mercurial/localrepo.py
+++ b/sys/lib/python/mercurial/localrepo.py
@@ -41,7 +41,7 @@
         if not os.path.isdir(self.path):
             if create:
                 if not os.path.exists(path):
-                    os.mkdir(path)
+                    os.makedirs(path)
                 os.mkdir(self.path)
                 requirements = ["revlogv1"]
                 if self.ui.configbool('format', 'usestore', True):
--