shithub: riscv

Download patch

ref: 222018340bd86cf053461b57867f81ef5aabe657
parent: 7011194af157e5d84f4fe7ce5868a5d529c219e3
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):